#9D7DFA#9D7DFA

#9D7DFA is a light, vivid violet. Relative luminance 0.287; OKLCH L 67.6% C 0.179 H 292.8°. Best body text is #000000 at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#9D7DFA
RGBrgb(157, 125, 250)
HSLhsl(255, 93%, 74%)
HSVhsv(255, 50%, 98%)
CMYKcmyk(37.2%, 50%, 0%, 2%)
CIE-LABlab(60.55, 39.97, -58.42)
CIE-LCHlch(60.55, 70.78, 304.38°)
OKLaboklab(67.63% 0.0694 -0.1653)
OKLCHoklch(67.63% 0.179 292.8)
XYZxyz(38.4890, 28.7365, 93.9428)
Luminance0.2874 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D7DFA #DAFA7D
analogous
#7D9BFA #9D7DFA #DB7DFA
triadic
#9D7DFA #FA9D7D #7DFA9D
tetradic
#9D7DFA #FA7D9B #DAFA7D #7DFADB
square
#9D7DFA #FA7D9B #DAFA7D #7DFADB
split-complementary
#9D7DFA #FADB7D #9BFA7D
monochromatic
#4509F3 #7142F8 #9D7DFA #C9B8FC #E9E2FE

Accessibility & contrast

On white

3.11
#9D7DFA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.75
#9D7DFA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D7DFA
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D7DFA#FFFFFF#000000##000000
##9D7DFA1.003.116.756.75
#FFFFFF3.111.0021.0021.00
#0000006.7521.001.001.00
##0000006.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C94FE
Deuteranopia (green-blind)
#5190F7
Tritanopia (blue-blind)
#8696B0
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #9d7dfa;
/* rgb */ color: rgb(157, 125, 250);
/* oklch */ color: oklch(67.6% 0.179 292.8);
Tailwind
colors: {
  custom: {
    50: '#bea3fc',
    500: '#9d7dfa',
    950: '#000000',
  },
}
SCSS
$custom: #9d7dfa;
$custom-light: #bea3fc;
$custom-dark: #000000;
JSON
{
  "hex": "#9d7dfa",
  "rgb": {
    "r": 157,
    "g": 125,
    "b": 250
  },
  "hsl": {
    "h": 255.36,
    "s": 92.593,
    "l": 73.529
  },
  "oklch": {
    "l": 0.67625,
    "c": 0.17929,
    "h": 292.8
  },
  "luminance": 0.28737
}

Semantic roles & 50–950 ramp

primary
#9D7DFA
secondary
#EEF6D5
accent
#E600AB
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#120F18
muted
#817F86

Preview Lab

Preview with #9D7DFA

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

Preview Lab → · Contrast checker → · Palette generator →

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