#9D74EA#9D74EA

#9D74EA is a light, vivid violet. Relative luminance 0.256; OKLCH L 65.2% C 0.172 H 297.4°. Best body text is #000000 at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#9D74EA
RGBrgb(157, 116, 234)
HSLhsl(261, 74%, 69%)
HSVhsv(261, 50%, 92%)
CMYKcmyk(32.9%, 50.4%, 0%, 8.2%)
CIE-LABlab(57.65, 40.90, -54.17)
CIE-LCHlch(57.65, 67.88, 307.05°)
OKLaboklab(65.18% 0.0794 -0.1529)
OKLCHoklch(65.18% 0.172 297.4)
XYZxyz(34.9976, 25.5990, 80.9232)
Luminance0.2560 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D74EA #C1EA74
analogous
#7486EA #9D74EA #D874EA
triadic
#9D74EA #EA9D74 #74EA9D
tetradic
#9D74EA #EA7486 #C1EA74 #74EAD8
square
#9D74EA #EA7486 #C1EA74 #74EAD8
split-complementary
#9D74EA #EAD874 #86EA74
monochromatic
#581EC6 #783FE2 #9D74EA #C2A9F2 #E8DEFA

Accessibility & contrast

On white

3.43
#9D74EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.12
#9D74EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D74EA
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D74EA#FFFFFF#000000##000000
##9D74EA1.003.436.126.12
#FFFFFF3.431.0021.0021.00
#0000006.1221.001.001.00
##0000006.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#498BEE
Deuteranopia (green-blind)
#5389E7
Tritanopia (blue-blind)
#8C8BA4
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #9d74ea;
/* rgb */ color: rgb(157, 116, 234);
/* oklch */ color: oklch(65.2% 0.172 297.4);
Tailwind
colors: {
  custom: {
    50: '#bd9df1',
    500: '#9d74ea',
    950: '#000000',
  },
}
SCSS
$custom: #9d74ea;
$custom-light: #bd9df1;
$custom-dark: #000000;
JSON
{
  "hex": "#9d74ea",
  "rgb": {
    "r": 157,
    "g": 116,
    "b": 234
  },
  "hsl": {
    "h": 260.847,
    "s": 73.75,
    "l": 68.627
  },
  "oklch": {
    "l": 0.65181,
    "c": 0.17228,
    "h": 297.4
  },
  "luminance": 0.25599
}

Semantic roles & 50–950 ramp

primary
#9D74EA
secondary
#E2EFCB
accent
#D61091
background
#FBF9FE
surface
#F7F2FD
border
#D0CCD5
text
#120E17
muted
#817E85

Preview Lab

Preview with #9D74EA

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

Preview Lab → · Contrast checker → · Palette generator →

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