#9869E2#9869E2

#9869E2 is a light, vivid violet. Relative luminance 0.223; OKLCH L 62.4% C 0.178 H 299.1°. Best body text is #000000 at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#9869E2
RGBrgb(152, 105, 226)
HSLhsl(263, 68%, 65%)
HSVhsv(263, 54%, 89%)
CMYKcmyk(32.7%, 53.5%, 0%, 11.4%)
CIE-LABlab(54.31, 43.77, -55.06)
CIE-LCHlch(54.31, 70.34, 308.48°)
OKLaboklab(62.44% 0.0866 -0.1556)
OKLCHoklch(62.44% 0.178 299.1)
XYZxyz(31.7246, 22.2692, 74.5638)
Luminance0.2227 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9869E2 #B3E269
analogous
#6976E2 #9869E2 #D569E2
triadic
#9869E2 #E29869 #69E298
tetradic
#9869E2 #E26976 #B3E269 #69E2D5
square
#9869E2 #E26976 #B3E269 #69E2D5
split-complementary
#9869E2 #E2D569 #76E269
monochromatic
#5922AF #7536D8 #9869E2 #BB9CEC #DED0F6

Accessibility & contrast

On white

3.85
#9869E2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.45
#9869E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9869E2
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9869E2#FFFFFF#000000##000000
##9869E21.003.855.455.45
#FFFFFF3.851.0021.0021.00
#0000005.4521.001.001.00
##0000005.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3982E6
Deuteranopia (green-blind)
#4781DF
Tritanopia (blue-blind)
#88819C
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #9869e2;
/* rgb */ color: rgb(152, 105, 226);
/* oklch */ color: oklch(62.4% 0.178 299.1);
Tailwind
colors: {
  custom: {
    50: '#ba95ec',
    500: '#9869e2',
    950: '#000000',
  },
}
SCSS
$custom: #9869e2;
$custom-light: #ba95ec;
$custom-dark: #000000;
JSON
{
  "hex": "#9869e2",
  "rgb": {
    "r": 152,
    "g": 105,
    "b": 226
  },
  "hsl": {
    "h": 263.306,
    "s": 67.598,
    "l": 64.902
  },
  "oklch": {
    "l": 0.6244,
    "c": 0.17812,
    "h": 299.1
  },
  "luminance": 0.2227
}

Semantic roles & 50–950 ramp

primary
#9869E2
secondary
#D8E8BF
accent
#D01687
background
#FBF9FE
surface
#F7F2FD
border
#D0CCD5
text
#120D16
muted
#817E84

Preview Lab

Preview with #9869E2

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

Preview Lab → · Contrast checker → · Palette generator →

#9869E2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva