#9865BE#9865BE

#9865BE is a mid, vivid violet. Relative luminance 0.197; OKLCH L 59.7% C 0.140 H 309.2°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#9865BE
RGBrgb(152, 101, 190)
HSLhsl(274, 41%, 57%)
HSVhsv(274, 47%, 75%)
CMYKcmyk(20%, 46.8%, 0%, 25.5%)
CIE-LABlab(51.50, 37.32, -39.04)
CIE-LCHlch(51.50, 54.01, 313.71°)
OKLaboklab(59.72% 0.0887 -0.1089)
OKLCHoklch(59.72% 0.14 309.2)
XYZxyz(26.8951, 19.7008, 51.0910)
Luminance0.1970 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9865BE #8BBE65
analogous
#6C65BE #9865BE #BE65B8
triadic
#9865BE #BE9865 #65BE98
tetradic
#9865BE #BE6C65 #8BBE65 #65B8BE
square
#9865BE #BE6C65 #8BBE65 #65B8BE
split-complementary
#9865BE #B8BE65 #65BE6C
monochromatic
#593277 #7A44A2 #9865BE #B590D0 #D2BBE2

Accessibility & contrast

On white

4.25
#9865BE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#9865BE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9865BE
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9865BE#FFFFFF#000000##000000
##9865BE1.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5078C1
Deuteranopia (green-blind)
#5D7CBC
Tritanopia (blue-blind)
#937388
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #9865be;
/* rgb */ color: rgb(152, 101, 190);
/* oklch */ color: oklch(59.7% 0.140 309.2);
Tailwind
colors: {
  custom: {
    50: '#b892d2',
    500: '#9865be',
    950: '#000000',
  },
}
SCSS
$custom: #9865be;
$custom-light: #b892d2;
$custom-dark: #000000;
JSON
{
  "hex": "#9865be",
  "rgb": {
    "r": 152,
    "g": 101,
    "b": 190
  },
  "hsl": {
    "h": 274.382,
    "s": 40.639,
    "l": 57.059
  },
  "oklch": {
    "l": 0.5972,
    "c": 0.14043,
    "h": 309.2
  },
  "luminance": 0.197
}

Semantic roles & 50–950 ramp

primary
#9865BE
secondary
#BDD1AD
accent
#D0578B
background
#FBF9FC
surface
#F6F1F9
border
#D0CBD2
text
#120D14
muted
#817E82

Preview Lab

Preview with #9865BE

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

Preview Lab → · Contrast checker → · Palette generator →

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