#9D7BFC#9D7BFC

#9D7BFC is a light, vivid violet. Relative luminance 0.284; OKLCH L 67.4% C 0.185 H 292.9°. Best body text is #000000 at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#9D7BFC
RGBrgb(157, 123, 252)
HSLhsl(256, 96%, 74%)
HSVhsv(256, 51%, 99%)
CMYKcmyk(37.7%, 51.2%, 0%, 1.2%)
CIE-LABlab(60.21, 41.61, -60.06)
CIE-LCHlch(60.21, 73.06, 304.72°)
OKLaboklab(67.41% 0.072 -0.1701)
OKLCHoklch(67.41% 0.185 292.9)
XYZxyz(38.5536, 28.3614, 95.5196)
Luminance0.2836 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D7BFC #DAFC7B
analogous
#7B99FC #9D7BFC #DD7BFC
triadic
#9D7BFC #FC9D7B #7BFC9D
tetradic
#9D7BFC #FC7B99 #DAFC7B #7BFCDD
square
#9D7BFC #FC7B99 #DAFC7B #7BFCDD
split-complementary
#9D7BFC #FCDD7B #99FC7B
monochromatic
#4506F7 #713FFB #9D7BFC #C9B7FD #E9E1FE

Accessibility & contrast

On white

3.15
#9D7BFC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.67
#9D7BFC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D7BFC
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D7BFC#FFFFFF#000000##000000
##9D7BFC1.003.156.676.67
#FFFFFF3.151.0021.0021.00
#0000006.6721.001.001.00
##0000006.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4693FF
Deuteranopia (green-blind)
#4C8FF9
Tritanopia (blue-blind)
#8595B0
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #9d7bfc;
/* rgb */ color: rgb(157, 123, 252);
/* oklch */ color: oklch(67.4% 0.185 292.9);
Tailwind
colors: {
  custom: {
    50: '#bea2fe',
    500: '#9d7bfc',
    950: '#000000',
  },
}
SCSS
$custom: #9d7bfc;
$custom-light: #bea2fe;
$custom-dark: #000000;
JSON
{
  "hex": "#9d7bfc",
  "rgb": {
    "r": 157,
    "g": 123,
    "b": 252
  },
  "hsl": {
    "h": 255.814,
    "s": 95.556,
    "l": 73.529
  },
  "oklch": {
    "l": 0.67412,
    "c": 0.18473,
    "h": 292.9
  },
  "luminance": 0.28362
}

Semantic roles & 50–950 ramp

primary
#9D7BFC
secondary
#EEF7D4
accent
#E600A9
background
#FCFAFF
surface
#F8F3FF
border
#D1CDD7
text
#130F18
muted
#827F86

Preview Lab

Preview with #9D7BFC

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

Preview Lab → · Contrast checker → · Palette generator →

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