#9D74FD#9D74FD

#9D74FD is a light, vivid violet. Relative luminance 0.268; OKLCH L 66.3% C 0.196 H 294.2°. Best body text is #000000 at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#9D74FD
RGBrgb(157, 116, 253)
HSLhsl(258, 97%, 72%)
HSVhsv(258, 54%, 99%)
CMYKcmyk(37.9%, 54.2%, 0%, 0.8%)
CIE-LABlab(58.74, 45.77, -62.96)
CIE-LCHlch(58.74, 77.84, 306.02°)
OKLaboklab(66.34% 0.0804 -0.1787)
OKLCHoklch(66.34% 0.196 294.2)
XYZxyz(37.8750, 26.7499, 96.0772)
Luminance0.2675 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D74FD #D4FD74
analogous
#7490FD #9D74FD #E174FD
triadic
#9D74FD #FD9D74 #74FD9D
tetradic
#9D74FD #FD7490 #D4FD74 #74FDE1
square
#9D74FD #FD7490 #D4FD74 #74FDE1
split-complementary
#9D74FD #FDE174 #90FD74
monochromatic
#4B03F3 #7238FC #9D74FD #C8B0FE #EAE1FF

Accessibility & contrast

On white

3.31
#9D74FD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.35
#9D74FD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D74FD
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D74FD#FFFFFF#000000##000000
##9D74FD1.003.316.356.35
#FFFFFF3.311.0021.0021.00
#0000006.3521.001.001.00
##0000006.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#348FFF
Deuteranopia (green-blind)
#3F8BFA
Tritanopia (blue-blind)
#8591AE
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #9d74fd;
/* rgb */ color: rgb(157, 116, 253);
/* oklch */ color: oklch(66.3% 0.196 294.2);
Tailwind
colors: {
  custom: {
    50: '#bf9dff',
    500: '#9d74fd',
    950: '#000000',
  },
}
SCSS
$custom: #9d74fd;
$custom-light: #bf9dff;
$custom-dark: #000000;
JSON
{
  "hex": "#9d74fd",
  "rgb": {
    "r": 157,
    "g": 116,
    "b": 253
  },
  "hsl": {
    "h": 257.956,
    "s": 97.163,
    "l": 72.353
  },
  "oklch": {
    "l": 0.66339,
    "c": 0.19593,
    "h": 294.2
  },
  "luminance": 0.26751
}

Semantic roles & 50–950 ramp

primary
#9D74FD
secondary
#ECF7D4
accent
#E600A1
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E18
muted
#827E86

Preview Lab

Preview with #9D74FD

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

Preview Lab → · Contrast checker → · Palette generator →

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