#9B74EE#9B74EE

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

Color values

HEX#9B74EE
RGBrgb(155, 116, 238)
HSLhsl(259, 78%, 69%)
HSVhsv(259, 51%, 93%)
CMYKcmyk(34.9%, 51.3%, 0%, 6.7%)
CIE-LABlab(57.69, 41.42, -56.36)
CIE-LCHlch(57.69, 69.95, 306.32°)
OKLaboklab(65.23% 0.0772 -0.1594)
OKLCHoklch(65.23% 0.177 295.9)
XYZxyz(35.1917, 25.6318, 83.9657)
Luminance0.2563 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B74EE #C7EE74
analogous
#748AEE #9B74EE #D874EE
triadic
#9B74EE #EE9B74 #74EE9B
tetradic
#9B74EE #EE748A #C7EE74 #74EED8
square
#9B74EE #EE748A #C7EE74 #74EED8
split-complementary
#9B74EE #EED874 #8AEE74
monochromatic
#5319CE #743DE7 #9B74EE #C2ABF5 #E9E1FB

Accessibility & contrast

On white

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

On black

6.13
#9B74EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B74EE
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B74EE#FFFFFF#000000##000000
##9B74EE1.003.436.136.13
#FFFFFF3.431.0021.0021.00
#0000006.1321.001.001.00
##0000006.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#448BF2
Deuteranopia (green-blind)
#4E89EB
Tritanopia (blue-blind)
#888CA6
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #9b74ee;
/* rgb */ color: rgb(155, 116, 238);
/* oklch */ color: oklch(65.2% 0.177 295.9);
Tailwind
colors: {
  custom: {
    50: '#bc9df4',
    500: '#9b74ee',
    950: '#000000',
  },
}
SCSS
$custom: #9b74ee;
$custom-light: #bc9df4;
$custom-dark: #000000;
JSON
{
  "hex": "#9b74ee",
  "rgb": {
    "r": 155,
    "g": 116,
    "b": 238
  },
  "hsl": {
    "h": 259.18,
    "s": 78.205,
    "l": 69.412
  },
  "oklch": {
    "l": 0.65232,
    "c": 0.17709,
    "h": 295.9
  },
  "luminance": 0.25632
}

Semantic roles & 50–950 ramp

primary
#9B74EE
secondary
#E5F0CD
accent
#DA0B98
background
#FBF9FF
surface
#F7F2FE
border
#D0CCD6
text
#120E17
muted
#817E85

Preview Lab

Preview with #9B74EE

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

Preview Lab → · Contrast checker → · Palette generator →

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