#9868E7#9868E7

#9868E7 is a light, vivid violet. Relative luminance 0.223; OKLCH L 62.6% C 0.186 H 298.3°. Best body text is #000000 at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#9868E7
RGBrgb(152, 104, 231)
HSLhsl(263, 73%, 66%)
HSVhsv(263, 55%, 91%)
CMYKcmyk(34.2%, 55%, 0%, 9.4%)
CIE-LABlab(54.39, 45.58, -57.74)
CIE-LCHlch(54.39, 73.56, 308.29°)
OKLaboklab(62.59% 0.0881 -0.1635)
OKLCHoklch(62.59% 0.186 298.3)
XYZxyz(32.3195, 22.3452, 78.1961)
Luminance0.2235 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9868E7 #B7E768
analogous
#6877E7 #9868E7 #D768E7
triadic
#9868E7 #E79868 #68E798
tetradic
#9868E7 #E76877 #B7E768 #68E7D7
square
#9868E7 #E76877 #B7E768 #68E7D7
split-complementary
#9868E7 #E7D768 #77E768
monochromatic
#571DB7 #7433DF #9868E7 #BC9DEF #E0D2F8

Accessibility & contrast

On white

3.84
#9868E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.47
#9868E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9868E7
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9868E7#FFFFFF#000000##000000
##9868E71.003.845.475.47
#FFFFFF3.841.0021.0021.00
#0000005.4721.001.001.00
##0000005.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3082EB
Deuteranopia (green-blind)
#4181E4
Tritanopia (blue-blind)
#87829E
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #9868e7;
/* rgb */ color: rgb(152, 104, 231);
/* oklch */ color: oklch(62.6% 0.186 298.3);
Tailwind
colors: {
  custom: {
    50: '#ba95ef',
    500: '#9868e7',
    950: '#000000',
  },
}
SCSS
$custom: #9868e7;
$custom-light: #ba95ef;
$custom-dark: #000000;
JSON
{
  "hex": "#9868e7",
  "rgb": {
    "r": 152,
    "g": 104,
    "b": 231
  },
  "hsl": {
    "h": 262.677,
    "s": 72.571,
    "l": 65.686
  },
  "oklch": {
    "l": 0.62594,
    "c": 0.18569,
    "h": 298.3
  },
  "luminance": 0.22346
}

Semantic roles & 50–950 ramp

primary
#9868E7
secondary
#DBEBC0
accent
#D5118B
background
#FBF9FE
surface
#F7F2FD
border
#D0CCD5
text
#120D16
muted
#817E84

Preview Lab

Preview with #9868E7

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

Preview Lab → · Contrast checker → · Palette generator →

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