#9D7EF8#9D7EF8

#9D7EF8 is a light, vivid violet. Relative luminance 0.289; OKLCH L 67.7% C 0.175 H 292.8°. Best body text is #000000 at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#9D7EF8
RGBrgb(157, 126, 248)
HSLhsl(255, 90%, 73%)
HSVhsv(255, 49%, 97%)
CMYKcmyk(36.7%, 49.2%, 0%, 2.7%)
CIE-LABlab(60.66, 38.88, -57.13)
CIE-LCHlch(60.66, 69.11, 304.23°)
OKLaboklab(67.68% 0.068 -0.1616)
OKLCHoklch(67.68% 0.175 292.8)
XYZxyz(38.3043, 28.8662, 92.3423)
Luminance0.2887 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D7EF8 #D9F87E
analogous
#7E9CF8 #9D7EF8 #DA7EF8
triadic
#9D7EF8 #F89D7E #7EF89D
tetradic
#9D7EF8 #F87E9C #D9F87E #7EF8DA
square
#9D7EF8 #F87E9C #D9F87E #7EF8DA
split-complementary
#9D7EF8 #F8DA7E #9CF87E
monochromatic
#460DEF #7144F5 #9D7EF8 #C9B8FB #E9E2FD

Accessibility & contrast

On white

3.10
#9D7EF8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.77
#9D7EF8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D7EF8
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D7EF8#FFFFFF#000000##000000
##9D7EF81.003.106.776.77
#FFFFFF3.101.0021.0021.00
#0000006.7721.001.001.00
##0000006.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F94FC
Deuteranopia (green-blind)
#5490F5
Tritanopia (blue-blind)
#8696AF
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #9d7ef8;
/* rgb */ color: rgb(157, 126, 248);
/* oklch */ color: oklch(67.7% 0.175 292.8);
Tailwind
colors: {
  custom: {
    50: '#bea4fb',
    500: '#9d7ef8',
    950: '#000000',
  },
}
SCSS
$custom: #9d7ef8;
$custom-light: #bea4fb;
$custom-dark: #000000;
JSON
{
  "hex": "#9d7ef8",
  "rgb": {
    "r": 157,
    "g": 126,
    "b": 248
  },
  "hsl": {
    "h": 255.246,
    "s": 89.706,
    "l": 73.333
  },
  "oklch": {
    "l": 0.67675,
    "c": 0.17528,
    "h": 292.8
  },
  "luminance": 0.28867
}

Semantic roles & 50–950 ramp

primary
#9D7EF8
secondary
#EDF6D5
accent
#E600AB
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#120F17
muted
#817F85

Preview Lab

Preview with #9D7EF8

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

Preview Lab → · Contrast checker → · Palette generator →

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