#9865BF#9865BF

#9865BF is a mid, vivid violet. Relative luminance 0.197; OKLCH L 59.8% C 0.142 H 308.9°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#9865BF
RGBrgb(152, 101, 191)
HSLhsl(274, 41%, 57%)
HSVhsv(274, 47%, 75%)
CMYKcmyk(20.4%, 47.1%, 0%, 25.1%)
CIE-LABlab(51.55, 37.55, -39.54)
CIE-LCHlch(51.55, 54.53, 313.52°)
OKLaboklab(59.77% 0.0889 -0.1103)
OKLCHoklch(59.77% 0.142 308.9)
XYZxyz(27.0047, 19.7447, 51.6686)
Luminance0.1974 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9865BF #8CBF65
analogous
#6B65BF #9865BF #BF65B9
triadic
#9865BF #BF9865 #65BF98
tetradic
#9865BF #BF6B65 #8CBF65 #65B9BF
square
#9865BF #BF6B65 #8CBF65 #65B9BF
split-complementary
#9865BF #B9BF65 #65BF6B
monochromatic
#593278 #7A44A3 #9865BF #B590D1 #D2BBE3

Accessibility & contrast

On white

4.24
#9865BF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#9865BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9865BF
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9865BF#FFFFFF#000000##000000
##9865BF1.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F79C2
Deuteranopia (green-blind)
#5D7CBD
Tritanopia (blue-blind)
#937489
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #9865bf;
/* rgb */ color: rgb(152, 101, 191);
/* oklch */ color: oklch(59.8% 0.142 308.9);
Tailwind
colors: {
  custom: {
    50: '#b892d2',
    500: '#9865bf',
    950: '#000000',
  },
}
SCSS
$custom: #9865bf;
$custom-light: #b892d2;
$custom-dark: #000000;
JSON
{
  "hex": "#9865bf",
  "rgb": {
    "r": 152,
    "g": 101,
    "b": 191
  },
  "hsl": {
    "h": 274,
    "s": 41.284,
    "l": 57.255
  },
  "oklch": {
    "l": 0.59774,
    "c": 0.14163,
    "h": 308.9
  },
  "luminance": 0.19744
}

Semantic roles & 50–950 ramp

primary
#9865BF
secondary
#BDD2AE
accent
#D1578C
background
#FBF9FC
surface
#F6F1F9
border
#D0CBD2
text
#120D14
muted
#817E82

Preview Lab

Preview with #9865BF

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

Preview Lab → · Contrast checker → · Palette generator →

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