#9E6BF0#9E6BF0

#9E6BF0 is a light, vivid violet. Relative luminance 0.241; OKLCH L 64.2% C 0.193 H 298.5°. Best body text is #000000 at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#9E6BF0
RGBrgb(158, 107, 240)
HSLhsl(263, 82%, 68%)
HSVhsv(263, 55%, 94%)
CMYKcmyk(34.2%, 55.4%, 0%, 5.9%)
CIE-LABlab(56.16, 47.62, -59.89)
CIE-LCHlch(56.16, 76.52, 308.48°)
OKLaboklab(64.21% 0.0921 -0.1696)
OKLCHoklch(64.21% 0.193 298.5)
XYZxyz(35.0826, 24.0754, 85.2199)
Luminance0.2408 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E6BF0 #BDF06B
analogous
#6B7AF0 #9E6BF0 #E16BF0
triadic
#9E6BF0 #F09E6B #6BF09E
tetradic
#9E6BF0 #F06B7A #BDF06B #6BF0E1
square
#9E6BF0 #F06B7A #BDF06B #6BF0E1
split-complementary
#9E6BF0 #F0E16B #7AF06B
monochromatic
#5B15CC #7A33EA #9E6BF0 #C2A3F6 #E7DAFB

Accessibility & contrast

On white

3.61
#9E6BF0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.82
#9E6BF0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E6BF0
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E6BF0#FFFFFF#000000##000000
##9E6BF01.003.615.825.82
#FFFFFF3.611.0021.0021.00
#0000005.8221.001.001.00
##0000005.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#2F87F4
Deuteranopia (green-blind)
#4185ED
Tritanopia (blue-blind)
#8C86A3
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #9e6bf0;
/* rgb */ color: rgb(158, 107, 240);
/* oklch */ color: oklch(64.2% 0.193 298.5);
Tailwind
colors: {
  custom: {
    50: '#bf97f6',
    500: '#9e6bf0',
    950: '#000000',
  },
}
SCSS
$custom: #9e6bf0;
$custom-light: #bf97f6;
$custom-dark: #000000;
JSON
{
  "hex": "#9e6bf0",
  "rgb": {
    "r": 158,
    "g": 107,
    "b": 240
  },
  "hsl": {
    "h": 263.008,
    "s": 81.595,
    "l": 68.039
  },
  "oklch": {
    "l": 0.64211,
    "c": 0.19304,
    "h": 298.5
  },
  "luminance": 0.24076
}

Semantic roles & 50–950 ramp

primary
#9E6BF0
secondary
#E0F0C7
accent
#DE088C
background
#FCF9FF
surface
#F8F2FE
border
#D1CCD6
text
#130E17
muted
#827E85

Preview Lab

Preview with #9E6BF0

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

Preview Lab → · Contrast checker → · Palette generator →

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