#9D74FF#9D74FF

#9D74FF is a light, vivid violet. Relative luminance 0.269; OKLCH L 66.5% C 0.198 H 293.9°. Best body text is #000000 at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#9D74FF
RGBrgb(157, 116, 255)
HSLhsl(258, 100%, 73%)
HSVhsv(258, 55%, 100%)
CMYKcmyk(38.4%, 54.5%, 0%, 0%)
CIE-LABlab(58.86, 46.29, -63.88)
CIE-LCHlch(58.86, 78.89, 305.93°)
OKLaboklab(66.47% 0.0804 -0.1814)
OKLCHoklch(66.47% 0.198 293.9)
XYZxyz(38.1953, 26.8780, 97.7639)
Luminance0.2688 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D74FF #D6FF74
analogous
#7490FF #9D74FF #E374FF
triadic
#9D74FF #FF9D74 #74FF9D
tetradic
#9D74FF #FF7490 #D6FF74 #74FFE3
square
#9D74FF #FF7490 #D6FF74 #74FFE3
split-complementary
#9D74FF #FFE374 #90FF74
monochromatic
#4900F9 #7237FF #9D74FF #C8B1FF #E9E0FF

Accessibility & contrast

On white

3.29
#9D74FF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.38
#9D74FF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D74FF
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D74FF#FFFFFF#000000##000000
##9D74FF1.003.296.386.38
#FFFFFF3.291.0021.0021.00
#0000006.3821.001.001.00
##0000006.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#318FFF
Deuteranopia (green-blind)
#3D8BFC
Tritanopia (blue-blind)
#8491AF
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #9d74ff;
/* rgb */ color: rgb(157, 116, 255);
/* oklch */ color: oklch(66.5% 0.198 293.9);
Tailwind
colors: {
  custom: {
    50: '#bf9dff',
    500: '#9d74ff',
    950: '#000000',
  },
}
SCSS
$custom: #9d74ff;
$custom-light: #bf9dff;
$custom-dark: #000000;
JSON
{
  "hex": "#9d74ff",
  "rgb": {
    "r": 157,
    "g": 116,
    "b": 255
  },
  "hsl": {
    "h": 257.698,
    "s": 100,
    "l": 72.745
  },
  "oklch": {
    "l": 0.66465,
    "c": 0.1984,
    "h": 293.9
  },
  "luminance": 0.26879
}

Semantic roles & 50–950 ramp

primary
#9D74FF
secondary
#EDF7D4
accent
#E600A2
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E18
muted
#827E86

Preview Lab

Preview with #9D74FF

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

Preview Lab → · Contrast checker → · Palette generator →

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