#9E6BF5#9E6BF5

#9E6BF5 is a light, vivid violet. Relative luminance 0.244; OKLCH L 64.5% C 0.199 H 297.6°. Best body text is #000000 at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#9E6BF5
RGBrgb(158, 107, 245)
HSLhsl(262, 87%, 69%)
HSVhsv(262, 56%, 96%)
CMYKcmyk(35.5%, 56.3%, 0%, 3.9%)
CIE-LABlab(56.46, 48.87, -62.19)
CIE-LCHlch(56.46, 79.10, 308.16°)
OKLaboklab(64.53% 0.0922 -0.1764)
OKLCHoklch(64.53% 0.199 297.6)
XYZxyz(35.8355, 24.3766, 89.1856)
Luminance0.2438 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E6BF5 #C2F56B
analogous
#6B7DF5 #9E6BF5 #E36BF5
triadic
#9E6BF5 #F59E6B #6BF59E
tetradic
#9E6BF5 #F56B7D #C2F56B #6BF5E3
square
#9E6BF5 #F56B7D #C2F56B #6BF5E3
split-complementary
#9E6BF5 #F5E36B #7DF56B
monochromatic
#590FD7 #7832F1 #9E6BF5 #C4A4F9 #E9DEFD

Accessibility & contrast

On white

3.57
#9E6BF5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.88
#9E6BF5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E6BF5
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E6BF5#FFFFFF#000000##000000
##9E6BF51.003.575.885.88
#FFFFFF3.571.0021.0021.00
#0000005.8821.001.001.00
##0000005.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#2688FA
Deuteranopia (green-blind)
#3B86F2
Tritanopia (blue-blind)
#8A88A6
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #9e6bf5;
/* rgb */ color: rgb(158, 107, 245);
/* oklch */ color: oklch(64.5% 0.199 297.6);
Tailwind
colors: {
  custom: {
    50: '#bf97f9',
    500: '#9e6bf5',
    950: '#000000',
  },
}
SCSS
$custom: #9e6bf5;
$custom-light: #bf97f9;
$custom-dark: #000000;
JSON
{
  "hex": "#9e6bf5",
  "rgb": {
    "r": 158,
    "g": 107,
    "b": 245
  },
  "hsl": {
    "h": 262.174,
    "s": 87.342,
    "l": 69.02
  },
  "oklch": {
    "l": 0.64528,
    "c": 0.19903,
    "h": 297.6
  },
  "luminance": 0.24377
}

Semantic roles & 50–950 ramp

primary
#9E6BF5
secondary
#E3F2CA
accent
#E40290
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E17
muted
#827E85

Preview Lab

Preview with #9E6BF5

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

Preview Lab → · Contrast checker → · Palette generator →

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