#9E7BE5#9E7BE5

#9E7BE5 is a light, vivid violet. Relative luminance 0.271; OKLCH L 66.2% C 0.155 H 297.2°. Best body text is #000000 at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#9E7BE5
RGBrgb(158, 123, 229)
HSLhsl(260, 67%, 69%)
HSVhsv(260, 46%, 90%)
CMYKcmyk(31%, 46.3%, 0%, 10.2%)
CIE-LABlab(59.06, 35.95, -49.14)
CIE-LCHlch(59.06, 60.89, 306.19°)
OKLaboklab(66.17% 0.071 -0.1382)
OKLCHoklch(66.17% 0.155 297.2)
XYZxyz(35.3229, 27.0917, 77.4818)
Luminance0.2709 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E7BE5 #C2E57B
analogous
#7B8DE5 #9E7BE5 #D37BE5
triadic
#9E7BE5 #E59E7B #7BE59E
tetradic
#9E7BE5 #E57B8D #C2E57B #7BE5D3
square
#9E7BE5 #E57B8D #C2E57B #7BE5D3
split-complementary
#9E7BE5 #E5D37B #8DE57B
monochromatic
#5926C0 #7848DB #9E7BE5 #C4AEEF #E9E1F9

Accessibility & contrast

On white

3.27
#9E7BE5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.42
#9E7BE5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E7BE5
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E7BE5#FFFFFF#000000##000000
##9E7BE51.003.276.426.42
#FFFFFF3.271.0021.0021.00
#0000006.4221.001.001.00
##0000006.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#598FE9
Deuteranopia (green-blind)
#608DE2
Tritanopia (blue-blind)
#8F8FA5
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #9e7be5;
/* rgb */ color: rgb(158, 123, 229);
/* oklch */ color: oklch(66.2% 0.155 297.2);
Tailwind
colors: {
  custom: {
    50: '#bda2ee',
    500: '#9e7be5',
    950: '#000000',
  },
}
SCSS
$custom: #9e7be5;
$custom-light: #bda2ee;
$custom-dark: #000000;
JSON
{
  "hex": "#9e7be5",
  "rgb": {
    "r": 158,
    "g": 123,
    "b": 229
  },
  "hsl": {
    "h": 259.811,
    "s": 67.089,
    "l": 69.02
  },
  "oklch": {
    "l": 0.66167,
    "c": 0.15536,
    "h": 297.2
  },
  "luminance": 0.27092
}

Semantic roles & 50–950 ramp

primary
#9E7BE5
secondary
#E3EDCE
accent
#CF1792
background
#FBFAFE
surface
#F7F3FD
border
#D0CDD5
text
#120F16
muted
#817F84

Preview Lab

Preview with #9E7BE5

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

Preview Lab → · Contrast checker → · Palette generator →

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