#9868E8#9868E8

#9868E8 is a light, vivid violet. Relative luminance 0.224; OKLCH L 62.7% C 0.187 H 298.1°. Best body text is #000000 at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#9868E8
RGBrgb(152, 104, 232)
HSLhsl(263, 74%, 66%)
HSVhsv(263, 55%, 91%)
CMYKcmyk(34.5%, 55.2%, 0%, 9%)
CIE-LABlab(54.45, 45.83, -58.20)
CIE-LCHlch(54.45, 74.08, 308.22°)
OKLaboklab(62.66% 0.0881 -0.1649)
OKLCHoklch(62.66% 0.187 298.1)
XYZxyz(32.4611, 22.4018, 78.9421)
Luminance0.2240 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9868E8 #B8E868
analogous
#6878E8 #9868E8 #D868E8
triadic
#9868E8 #E89868 #68E898
tetradic
#9868E8 #E86878 #B8E868 #68E8D8
square
#9868E8 #E86878 #B8E868 #68E8D8
split-complementary
#9868E8 #E8D868 #78E868
monochromatic
#571CB9 #7433E0 #9868E8 #BC9DF0 #E0D2F8

Accessibility & contrast

On white

3.83
#9868E8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.48
#9868E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9868E8
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9868E8#FFFFFF#000000##000000
##9868E81.003.835.485.48
#FFFFFF3.831.0021.0021.00
#0000005.4821.001.001.00
##0000005.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#2F82EC
Deuteranopia (green-blind)
#4081E5
Tritanopia (blue-blind)
#86829E
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #9868e8;
/* rgb */ color: rgb(152, 104, 232);
/* oklch */ color: oklch(62.7% 0.187 298.1);
Tailwind
colors: {
  custom: {
    50: '#ba95f0',
    500: '#9868e8',
    950: '#000000',
  },
}
SCSS
$custom: #9868e8;
$custom-light: #ba95f0;
$custom-dark: #000000;
JSON
{
  "hex": "#9868e8",
  "rgb": {
    "r": 152,
    "g": 104,
    "b": 232
  },
  "hsl": {
    "h": 262.5,
    "s": 73.563,
    "l": 65.882
  },
  "oklch": {
    "l": 0.62657,
    "c": 0.18691,
    "h": 298.1
  },
  "luminance": 0.22402
}

Semantic roles & 50–950 ramp

primary
#9868E8
secondary
#DBEBC1
accent
#D6108B
background
#FBF9FE
surface
#F7F2FD
border
#D0CCD5
text
#120D17
muted
#817E85

Preview Lab

Preview with #9868E8

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

Preview Lab → · Contrast checker → · Palette generator →

#9868E8 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva