#9868F7#9868F7

#9868F7 is a light, highly saturated violet. Relative luminance 0.233; OKLCH L 63.6% C 0.205 H 295.5°. Best body text is #000000 at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#9868F7
RGBrgb(152, 104, 247)
HSLhsl(260, 90%, 69%)
HSVhsv(260, 58%, 97%)
CMYKcmyk(38.5%, 57.9%, 0%, 3.1%)
CIE-LABlab(55.37, 49.67, -65.09)
CIE-LCHlch(55.37, 81.88, 307.34°)
OKLaboklab(63.63% 0.0881 -0.1851)
OKLCHoklch(63.63% 0.205 295.5)
XYZxyz(34.6833, 23.2907, 90.6459)
Luminance0.2329 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9868F7 #C7F768
analogous
#6880F7 #9868F7 #E068F7
triadic
#9868F7 #F79868 #68F798
tetradic
#9868F7 #F76880 #C7F768 #68F7E0
square
#9868F7 #F76880 #C7F768 #68F7E0
split-complementary
#9868F7 #F7E068 #80F768
monochromatic
#510CD9 #702EF4 #9868F7 #C0A2FA #E7DCFD

Accessibility & contrast

On white

3.71
#9868F7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.66
#9868F7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9868F7
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9868F7#FFFFFF#000000##000000
##9868F71.003.715.665.66
#FFFFFF3.711.0021.0021.00
#0000005.6621.001.001.00
##0000005.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0A86FC
Deuteranopia (green-blind)
#2983F4
Tritanopia (blue-blind)
#8087A6
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #9868f7;
/* rgb */ color: rgb(152, 104, 247);
/* oklch */ color: oklch(63.6% 0.205 295.5);
Tailwind
colors: {
  custom: {
    50: '#bc95fb',
    500: '#9868f7',
    950: '#000000',
  },
}
SCSS
$custom: #9868f7;
$custom-light: #bc95fb;
$custom-dark: #000000;
JSON
{
  "hex": "#9868f7",
  "rgb": {
    "r": 152,
    "g": 104,
    "b": 247
  },
  "hsl": {
    "h": 260.14,
    "s": 89.937,
    "l": 68.824
  },
  "oklch": {
    "l": 0.63627,
    "c": 0.20499,
    "h": 295.5
  },
  "luminance": 0.23291
}

Semantic roles & 50–950 ramp

primary
#9868F7
secondary
#E4F3C8
accent
#E60098
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#120D17
muted
#817E85

Preview Lab

Preview with #9868F7

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

Preview Lab → · Contrast checker → · Palette generator →

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