#9C74EA#9C74EA

#9C74EA is a light, vivid violet. Relative luminance 0.255; OKLCH L 65.1% C 0.172 H 297.0°. Best body text is #000000 at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#9C74EA
RGBrgb(156, 116, 234)
HSLhsl(260, 74%, 69%)
HSVhsv(260, 50%, 92%)
CMYKcmyk(33.3%, 50.4%, 0%, 8.2%)
CIE-LABlab(57.56, 40.65, -54.33)
CIE-LCHlch(57.56, 67.85, 306.80°)
OKLaboklab(65.09% 0.0782 -0.1534)
OKLCHoklch(65.09% 0.172 297)
XYZxyz(34.8033, 25.4987, 80.9141)
Luminance0.2550 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C74EA #C2EA74
analogous
#7487EA #9C74EA #D774EA
triadic
#9C74EA #EA9C74 #74EA9C
tetradic
#9C74EA #EA7487 #C2EA74 #74EAD7
square
#9C74EA #EA7487 #C2EA74 #74EAD7
split-complementary
#9C74EA #EAD774 #87EA74
monochromatic
#571EC6 #763FE2 #9C74EA #C2A9F2 #E8DEFA

Accessibility & contrast

On white

3.44
#9C74EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.10
#9C74EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C74EA
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C74EA#FFFFFF#000000##000000
##9C74EA1.003.446.106.10
#FFFFFF3.441.0021.0021.00
#0000006.1021.001.001.00
##0000006.1021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9c74ea;
/* rgb */ color: rgb(156, 116, 234);
/* oklch */ color: oklch(65.1% 0.172 297.0);
Tailwind
colors: {
  custom: {
    50: '#bd9df1',
    500: '#9c74ea',
    950: '#000000',
  },
}
SCSS
$custom: #9c74ea;
$custom-light: #bd9df1;
$custom-dark: #000000;
JSON
{
  "hex": "#9c74ea",
  "rgb": {
    "r": 156,
    "g": 116,
    "b": 234
  },
  "hsl": {
    "h": 260.339,
    "s": 73.75,
    "l": 68.627
  },
  "oklch": {
    "l": 0.65087,
    "c": 0.17216,
    "h": 297
  },
  "luminance": 0.25499
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9C74EA

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

Preview Lab → · Contrast checker → · Palette generator →

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