#9E6BF2#9E6BF2

#9E6BF2 is a light, vivid violet. Relative luminance 0.242; OKLCH L 64.3% C 0.195 H 298.1°. Best body text is #000000 at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#9E6BF2
RGBrgb(158, 107, 242)
HSLhsl(263, 84%, 68%)
HSVhsv(263, 56%, 95%)
CMYKcmyk(34.7%, 55.8%, 0%, 5.1%)
CIE-LABlab(56.28, 48.12, -60.82)
CIE-LCHlch(56.28, 77.55, 308.35°)
OKLaboklab(64.34% 0.0922 -0.1723)
OKLCHoklch(64.34% 0.195 298.1)
XYZxyz(35.3813, 24.1949, 86.7932)
Luminance0.2419 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E6BF2 #BFF26B
analogous
#6B7BF2 #9E6BF2 #E26BF2
triadic
#9E6BF2 #F29E6B #6BF29E
tetradic
#9E6BF2 #F26B7B #BFF26B #6BF2E2
square
#9E6BF2 #F26B7B #BFF26B #6BF2E2
split-complementary
#9E6BF2 #F2E26B #7BF26B
monochromatic
#5A12D0 #7933ED #9E6BF2 #C3A3F7 #E8DCFC

Accessibility & contrast

On white

3.60
#9E6BF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.84
#9E6BF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E6BF2
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E6BF2#FFFFFF#000000##000000
##9E6BF21.003.605.845.84
#FFFFFF3.601.0021.0021.00
#0000005.8421.001.001.00
##0000005.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#2C87F6
Deuteranopia (green-blind)
#3F86EF
Tritanopia (blue-blind)
#8B87A4
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #9e6bf2;
/* rgb */ color: rgb(158, 107, 242);
/* oklch */ color: oklch(64.3% 0.195 298.1);
Tailwind
colors: {
  custom: {
    50: '#bf97f7',
    500: '#9e6bf2',
    950: '#000000',
  },
}
SCSS
$custom: #9e6bf2;
$custom-light: #bf97f7;
$custom-dark: #000000;
JSON
{
  "hex": "#9e6bf2",
  "rgb": {
    "r": 158,
    "g": 107,
    "b": 242
  },
  "hsl": {
    "h": 262.667,
    "s": 83.851,
    "l": 68.431
  },
  "oklch": {
    "l": 0.64337,
    "c": 0.19544,
    "h": 298.1
  },
  "luminance": 0.24195
}

Semantic roles & 50–950 ramp

primary
#9E6BF2
secondary
#E1F1C8
accent
#E0058E
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E17
muted
#827E85

Preview Lab

Preview with #9E6BF2

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

Preview Lab → · Contrast checker → · Palette generator →

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