#9F74E4#9F74E4

#9F74E4 is a light, vivid violet. Relative luminance 0.255; OKLCH L 65.0% C 0.165 H 299.5°. Best body text is #000000 at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#9F74E4
RGBrgb(159, 116, 228)
HSLhsl(263, 67%, 67%)
HSVhsv(263, 49%, 89%)
CMYKcmyk(30.3%, 49.1%, 0%, 10.6%)
CIE-LABlab(57.52, 39.91, -51.02)
CIE-LCHlch(57.52, 64.77, 308.03°)
OKLaboklab(65.02% 0.0813 -0.1436)
OKLCHoklch(65.02% 0.165 299.5)
XYZxyz(34.5437, 25.4629, 76.4787)
Luminance0.2546 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F74E4 #B9E474
analogous
#7481E4 #9F74E4 #D774E4
triadic
#9F74E4 #E49F74 #74E49F
tetradic
#9F74E4 #E47481 #B9E474 #74E4D7
square
#9F74E4 #E47481 #B9E474 #74E4D7
split-complementary
#9F74E4 #E4D774 #81E474
monochromatic
#5D24BA #7C41DA #9F74E4 #C2A7EE #E6DAF8

Accessibility & contrast

On white

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

On black

6.09
#9F74E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F74E4
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F74E4#FFFFFF#000000##000000
##9F74E41.003.456.096.09
#FFFFFF3.451.0021.0021.00
#0000006.0921.001.001.00
##0000006.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F8AE8
Deuteranopia (green-blind)
#5989E1
Tritanopia (blue-blind)
#9189A1
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #9f74e4;
/* rgb */ color: rgb(159, 116, 228);
/* oklch */ color: oklch(65.0% 0.165 299.5);
Tailwind
colors: {
  custom: {
    50: '#be9ded',
    500: '#9f74e4',
    950: '#000000',
  },
}
SCSS
$custom: #9f74e4;
$custom-light: #be9ded;
$custom-dark: #000000;
JSON
{
  "hex": "#9f74e4",
  "rgb": {
    "r": 159,
    "g": 116,
    "b": 228
  },
  "hsl": {
    "h": 263.036,
    "s": 67.47,
    "l": 67.451
  },
  "oklch": {
    "l": 0.65024,
    "c": 0.16504,
    "h": 299.5
  },
  "luminance": 0.25463
}

Semantic roles & 50–950 ramp

primary
#9F74E4
secondary
#DEEBC8
accent
#CF1688
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#120E16
muted
#817E84

Preview Lab

Preview with #9F74E4

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

Preview Lab → · Contrast checker → · Palette generator →

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