#9869F2#9869F2

#9869F2 is a light, vivid violet. Relative luminance 0.232; OKLCH L 63.5% C 0.198 H 296.1°. Best body text is #000000 at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#9869F2
RGBrgb(152, 105, 242)
HSLhsl(261, 84%, 68%)
HSVhsv(261, 57%, 95%)
CMYKcmyk(37.2%, 56.6%, 0%, 5.1%)
CIE-LABlab(55.27, 47.84, -62.48)
CIE-LCHlch(55.27, 78.69, 307.44°)
OKLaboklab(63.45% 0.087 -0.1774)
OKLCHoklch(63.45% 0.198 296.1)
XYZxyz(34.0234, 23.1887, 86.6705)
Luminance0.2319 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9869F2 #C3F269
analogous
#697EF2 #9869F2 #DC69F2
triadic
#9869F2 #F29869 #69F298
tetradic
#9869F2 #F2697E #C3F269 #69F2DC
square
#9869F2 #F2697E #C3F269 #69F2DC
split-complementary
#9869F2 #F2DC69 #7EF269
monochromatic
#5312CF #7131ED #9869F2 #BFA1F7 #E5DAFC

Accessibility & contrast

On white

3.72
#9869F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.64
#9869F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9869F2
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9869F2#FFFFFF#000000##000000
##9869F21.003.725.645.64
#FFFFFF3.721.0021.0021.00
#0000005.6421.001.001.00
##0000005.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#2085F7
Deuteranopia (green-blind)
#3482EF
Tritanopia (blue-blind)
#8286A4
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #9869f2;
/* rgb */ color: rgb(152, 105, 242);
/* oklch */ color: oklch(63.5% 0.198 296.1);
Tailwind
colors: {
  custom: {
    50: '#bb95f7',
    500: '#9869f2',
    950: '#000000',
  },
}
SCSS
$custom: #9869f2;
$custom-light: #bb95f7;
$custom-dark: #000000;
JSON
{
  "hex": "#9869f2",
  "rgb": {
    "r": 152,
    "g": 105,
    "b": 242
  },
  "hsl": {
    "h": 260.584,
    "s": 84.049,
    "l": 68.039
  },
  "oklch": {
    "l": 0.63451,
    "c": 0.19759,
    "h": 296.1
  },
  "luminance": 0.23189
}

Semantic roles & 50–950 ramp

primary
#9869F2
secondary
#E2F0C6
accent
#E10595
background
#FBF9FF
surface
#F7F2FF
border
#D0CCD7
text
#120D17
muted
#817E85

Preview Lab

Preview with #9869F2

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

Preview Lab → · Contrast checker → · Palette generator →

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