#9B74EA#9B74EA

#9B74EA is a light, vivid violet. Relative luminance 0.254; OKLCH L 65.0% C 0.172 H 296.6°. Best body text is #000000 at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#9B74EA
RGBrgb(155, 116, 234)
HSLhsl(260, 74%, 69%)
HSVhsv(260, 50%, 92%)
CMYKcmyk(33.8%, 50.4%, 0%, 8.2%)
CIE-LABlab(57.46, 40.40, -54.49)
CIE-LCHlch(57.46, 67.83, 306.55°)
OKLaboklab(64.99% 0.0769 -0.1539)
OKLCHoklch(64.99% 0.172 296.6)
XYZxyz(34.6105, 25.3994, 80.9050)
Luminance0.2540 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B74EA #C3EA74
analogous
#7488EA #9B74EA #D674EA
triadic
#9B74EA #EA9B74 #74EA9B
tetradic
#9B74EA #EA7488 #C3EA74 #74EAD6
square
#9B74EA #EA7488 #C3EA74 #74EAD6
split-complementary
#9B74EA #EAD674 #88EA74
monochromatic
#551EC6 #753FE2 #9B74EA #C1A9F2 #E7DEFA

Accessibility & contrast

On white

3.45
#9B74EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.08
#9B74EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B74EA
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B74EA#FFFFFF#000000##000000
##9B74EA1.003.456.086.08
#FFFFFF3.451.0021.0021.00
#0000006.0821.001.001.00
##0000006.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#488BEE
Deuteranopia (green-blind)
#5189E7
Tritanopia (blue-blind)
#898BA4
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #9b74ea;
/* rgb */ color: rgb(155, 116, 234);
/* oklch */ color: oklch(65.0% 0.172 296.6);
Tailwind
colors: {
  custom: {
    50: '#bc9df1',
    500: '#9b74ea',
    950: '#000000',
  },
}
SCSS
$custom: #9b74ea;
$custom-light: #bc9df1;
$custom-dark: #000000;
JSON
{
  "hex": "#9b74ea",
  "rgb": {
    "r": 155,
    "g": 116,
    "b": 234
  },
  "hsl": {
    "h": 259.831,
    "s": 73.75,
    "l": 68.627
  },
  "oklch": {
    "l": 0.64993,
    "c": 0.17204,
    "h": 296.6
  },
  "luminance": 0.254
}

Semantic roles & 50–950 ramp

primary
#9B74EA
secondary
#E3EFCB
accent
#D61094
background
#FBF9FE
surface
#F7F2FD
border
#D0CCD5
text
#120E17
muted
#817E85

Preview Lab

Preview with #9B74EA

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

Preview Lab → · Contrast checker → · Palette generator →

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