#9865F2#9865F2

#9865F2 is a light, highly saturated violet. Relative luminance 0.224; OKLCH L 62.8% C 0.203 H 296.8°. Best body text is #000000 at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#9865F2
RGBrgb(152, 101, 242)
HSLhsl(262, 84%, 67%)
HSVhsv(262, 58%, 95%)
CMYKcmyk(37.2%, 58.3%, 0%, 5.1%)
CIE-LABlab(54.44, 50.00, -63.81)
CIE-LCHlch(54.44, 81.06, 308.08°)
OKLaboklab(62.85% 0.0917 -0.1813)
OKLCHoklch(62.85% 0.203 296.8)
XYZxyz(33.6255, 22.3930, 86.5379)
Luminance0.2239 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9865F2 #BFF265
analogous
#6579F2 #9865F2 #DE65F2
triadic
#9865F2 #F29865 #65F298
tetradic
#9865F2 #F26579 #BFF265 #65F2DE
square
#9865F2 #F26579 #BFF265 #65F2DE
split-complementary
#9865F2 #F2DE65 #79F265
monochromatic
#5511CB #722DED #9865F2 #BE9DF7 #E3D6FC

Accessibility & contrast

On white

3.83
#9865F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.48
#9865F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9865F2
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9865F2#FFFFFF#000000##000000
##9865F21.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)
#0A83F7
Deuteranopia (green-blind)
#2C80EF
Tritanopia (blue-blind)
#8383A2
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #9865f2;
/* rgb */ color: rgb(152, 101, 242);
/* oklch */ color: oklch(62.8% 0.203 296.8);
Tailwind
colors: {
  custom: {
    50: '#bb93f7',
    500: '#9865f2',
    950: '#000000',
  },
}
SCSS
$custom: #9865f2;
$custom-light: #bb93f7;
$custom-dark: #000000;
JSON
{
  "hex": "#9865f2",
  "rgb": {
    "r": 152,
    "g": 101,
    "b": 242
  },
  "hsl": {
    "h": 261.702,
    "s": 84.431,
    "l": 67.255
  },
  "oklch": {
    "l": 0.62846,
    "c": 0.20316,
    "h": 296.8
  },
  "luminance": 0.22394
}

Semantic roles & 50–950 ramp

primary
#9865F2
secondary
#E0F0C3
accent
#E10591
background
#FCF9FF
surface
#F8F1FF
border
#D1CBD7
text
#120D17
muted
#817E85

Preview Lab

Preview with #9865F2

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

Preview Lab → · Contrast checker → · Palette generator →

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