#9865F3#9865F3

#9865F3 is a light, highly saturated violet. Relative luminance 0.225; OKLCH L 62.9% C 0.204 H 296.6°. Best body text is #000000 at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#9865F3
RGBrgb(152, 101, 243)
HSLhsl(262, 86%, 67%)
HSVhsv(262, 58%, 95%)
CMYKcmyk(37.4%, 58.4%, 0%, 4.7%)
CIE-LABlab(54.50, 50.26, -64.26)
CIE-LCHlch(54.50, 81.58, 308.03°)
OKLaboklab(62.91% 0.0916 -0.1826)
OKLCHoklch(62.91% 0.204 296.6)
XYZxyz(33.7761, 22.4533, 87.3310)
Luminance0.2245 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9865F3 #C0F365
analogous
#6579F3 #9865F3 #DF65F3
triadic
#9865F3 #F39865 #65F398
tetradic
#9865F3 #F36579 #C0F365 #65F3DF
square
#9865F3 #F36579 #C0F365 #65F3DF
split-complementary
#9865F3 #F3DF65 #79F365
monochromatic
#5410CE #722CEF #9865F3 #BE9EF7 #E4D7FC

Accessibility & contrast

On white

3.82
#9865F3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.49
#9865F3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9865F3
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9865F3#FFFFFF#000000##000000
##9865F31.003.825.495.49
#FFFFFF3.821.0021.0021.00
#0000005.4921.001.001.00
##0000005.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0483F8
Deuteranopia (green-blind)
#2A81F0
Tritanopia (blue-blind)
#8283A3
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #9865f3;
/* rgb */ color: rgb(152, 101, 243);
/* oklch */ color: oklch(62.9% 0.204 296.6);
Tailwind
colors: {
  custom: {
    50: '#bb93f8',
    500: '#9865f3',
    950: '#000000',
  },
}
SCSS
$custom: #9865f3;
$custom-light: #bb93f8;
$custom-dark: #000000;
JSON
{
  "hex": "#9865f3",
  "rgb": {
    "r": 152,
    "g": 101,
    "b": 243
  },
  "hsl": {
    "h": 261.549,
    "s": 85.542,
    "l": 67.451
  },
  "oklch": {
    "l": 0.62912,
    "c": 0.20435,
    "h": 296.6
  },
  "luminance": 0.22454
}

Semantic roles & 50–950 ramp

primary
#9865F3
secondary
#E0F0C4
accent
#E20392
background
#FCF9FF
surface
#F8F1FF
border
#D1CBD7
text
#120D17
muted
#817E85

Preview Lab

Preview with #9865F3

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

Preview Lab → · Contrast checker → · Palette generator →

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