#9A7CFA#9A7CFA

#9A7CFA is a light, vivid violet. Relative luminance 0.282; OKLCH L 67.2% C 0.181 H 291.8°. Best body text is #000000 at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#9A7CFA
RGBrgb(154, 124, 250)
HSLhsl(254, 93%, 73%)
HSVhsv(254, 50%, 98%)
CMYKcmyk(38.4%, 50.4%, 0%, 2%)
CIE-LABlab(60.06, 39.81, -59.22)
CIE-LCHlch(60.06, 71.36, 303.91°)
OKLaboklab(67.19% 0.067 -0.1678)
OKLCHoklch(67.19% 0.181 291.8)
XYZxyz(37.7848, 28.1865, 93.8737)
Luminance0.2819 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A7CFA #DCFA7C
analogous
#7C9DFA #9A7CFA #D97CFA
triadic
#9A7CFA #FA9A7C #7CFA9A
tetradic
#9A7CFA #FA7C9D #DCFA7C #7CFAD9
square
#9A7CFA #FA7C9D #DCFA7C #7CFAD9
split-complementary
#9A7CFA #FAD97C #9DFA7C
monochromatic
#4109F2 #6D41F8 #9A7CFA #C7B7FC #E8E2FE

Accessibility & contrast

On white

3.16
#9A7CFA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.64
#9A7CFA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9A7CFA
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A7CFA#FFFFFF#000000##000000
##9A7CFA1.003.166.646.64
#FFFFFF3.161.0021.0021.00
#0000006.6421.001.001.00
##0000006.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4893FE
Deuteranopia (green-blind)
#4D8EF7
Tritanopia (blue-blind)
#8196AF
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #9a7cfa;
/* rgb */ color: rgb(154, 124, 250);
/* oklch */ color: oklch(67.2% 0.181 291.8);
Tailwind
colors: {
  custom: {
    50: '#bca2fc',
    500: '#9a7cfa',
    950: '#000000',
  },
}
SCSS
$custom: #9a7cfa;
$custom-light: #bca2fc;
$custom-dark: #000000;
JSON
{
  "hex": "#9a7cfa",
  "rgb": {
    "r": 154,
    "g": 124,
    "b": 250
  },
  "hsl": {
    "h": 254.286,
    "s": 92.647,
    "l": 73.333
  },
  "oklch": {
    "l": 0.67194,
    "c": 0.18065,
    "h": 291.8
  },
  "luminance": 0.28187
}

Semantic roles & 50–950 ramp

primary
#9A7CFA
secondary
#EEF6D5
accent
#E600AF
background
#FBFAFF
surface
#F7F3FF
border
#D0CDD7
text
#120F18
muted
#817F86

Preview Lab

Preview with #9A7CFA

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#9A7CFA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva