#9C74EF#9C74EF

#9C74EF is a light, vivid violet. Relative luminance 0.258; OKLCH L 65.4% C 0.178 H 296.1°. Best body text is #000000 at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#9C74EF
RGBrgb(156, 116, 239)
HSLhsl(260, 79%, 70%)
HSVhsv(260, 51%, 94%)
CMYKcmyk(34.7%, 51.5%, 0%, 6.3%)
CIE-LABlab(57.84, 41.92, -56.67)
CIE-LCHlch(57.84, 70.49, 306.49°)
OKLaboklab(65.39% 0.0785 -0.1602)
OKLCHoklch(65.39% 0.178 296.1)
XYZxyz(35.5317, 25.7901, 84.7506)
Luminance0.2579 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C74EF #C7EF74
analogous
#748AEF #9C74EF #D974EF
triadic
#9C74EF #EF9C74 #74EF9C
tetradic
#9C74EF #EF748A #C7EF74 #74EFD9
square
#9C74EF #EF748A #C7EF74 #74EFD9
split-complementary
#9C74EF #EFD974 #8AEF74
monochromatic
#5418D1 #753DE9 #9C74EF #C3ABF5 #EAE2FC

Accessibility & contrast

On white

3.41
#9C74EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.16
#9C74EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C74EF
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C74EF#FFFFFF#000000##000000
##9C74EF1.003.416.166.16
#FFFFFF3.411.0021.0021.00
#0000006.1621.001.001.00
##0000006.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#448CF3
Deuteranopia (green-blind)
#4E89EC
Tritanopia (blue-blind)
#898CA7
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #9c74ef;
/* rgb */ color: rgb(156, 116, 239);
/* oklch */ color: oklch(65.4% 0.178 296.1);
Tailwind
colors: {
  custom: {
    50: '#bd9df5',
    500: '#9c74ef',
    950: '#000000',
  },
}
SCSS
$custom: #9c74ef;
$custom-light: #bd9df5;
$custom-dark: #000000;
JSON
{
  "hex": "#9c74ef",
  "rgb": {
    "r": 156,
    "g": 116,
    "b": 239
  },
  "hsl": {
    "h": 259.512,
    "s": 79.355,
    "l": 69.608
  },
  "oklch": {
    "l": 0.65385,
    "c": 0.17844,
    "h": 296.1
  },
  "luminance": 0.25791
}

Semantic roles & 50–950 ramp

primary
#9C74EF
secondary
#E6F1CE
accent
#DC0A97
background
#FCF9FF
surface
#F8F2FE
border
#D1CCD6
text
#120E17
muted
#817E85

Preview Lab

Preview with #9C74EF

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

Preview Lab → · Contrast checker → · Palette generator →

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