#9D74FA#9D74FA

#9D74FA is a light, vivid violet. Relative luminance 0.266; OKLCH L 66.2% C 0.192 H 294.7°. Best body text is #000000 at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#9D74FA
RGBrgb(157, 116, 250)
HSLhsl(258, 93%, 72%)
HSVhsv(258, 54%, 98%)
CMYKcmyk(37.2%, 53.6%, 0%, 2%)
CIE-LABlab(58.56, 45.00, -61.59)
CIE-LCHlch(58.56, 76.28, 306.15°)
OKLaboklab(66.15% 0.0803 -0.1747)
OKLCHoklch(66.15% 0.192 294.7)
XYZxyz(37.4008, 26.5602, 93.5801)
Luminance0.2656 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D74FA #D1FA74
analogous
#748EFA #9D74FA #E074FA
triadic
#9D74FA #FA9D74 #74FA9D
tetradic
#9D74FA #FA748E #D1FA74 #74FAE0
square
#9D74FA #FA748E #D1FA74 #74FAE0
split-complementary
#9D74FA #FAE074 #8EFA74
monochromatic
#4E08EB #7339F8 #9D74FA #C7AFFC #EAE1FE

Accessibility & contrast

On white

3.33
#9D74FA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.31
#9D74FA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D74FA
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D74FA#FFFFFF#000000##000000
##9D74FA1.003.336.316.31
#FFFFFF3.331.0021.0021.00
#0000006.3121.001.001.00
##0000006.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#388EFF
Deuteranopia (green-blind)
#438BF7
Tritanopia (blue-blind)
#8690AC
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #9d74fa;
/* rgb */ color: rgb(157, 116, 250);
/* oklch */ color: oklch(66.2% 0.192 294.7);
Tailwind
colors: {
  custom: {
    50: '#be9dfd',
    500: '#9d74fa',
    950: '#000000',
  },
}
SCSS
$custom: #9d74fa;
$custom-light: #be9dfd;
$custom-dark: #000000;
JSON
{
  "hex": "#9d74fa",
  "rgb": {
    "r": 157,
    "g": 116,
    "b": 250
  },
  "hsl": {
    "h": 258.358,
    "s": 93.056,
    "l": 71.765
  },
  "oklch": {
    "l": 0.66151,
    "c": 0.19223,
    "h": 294.7
  },
  "luminance": 0.26561
}

Semantic roles & 50–950 ramp

primary
#9D74FA
secondary
#EBF6D4
accent
#E6009F
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E18
muted
#827E86

Preview Lab

Preview with #9D74FA

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

Preview Lab → · Contrast checker → · Palette generator →

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