#9862BE#9862BE

#9862BE is a mid, vivid violet. Relative luminance 0.191; OKLCH L 59.2% C 0.145 H 309.7°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#9862BE
RGBrgb(152, 98, 190)
HSLhsl(275, 41%, 56%)
HSVhsv(275, 48%, 75%)
CMYKcmyk(20%, 48.4%, 0%, 25.5%)
CIE-LABlab(50.84, 39.00, -40.08)
CIE-LCHlch(50.84, 55.92, 314.21°)
OKLaboklab(59.23% 0.093 -0.1119)
OKLCHoklch(59.23% 0.145 309.7)
XYZxyz(26.6091, 19.1289, 50.9957)
Luminance0.1913 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9862BE #88BE62
analogous
#6A62BE #9862BE #BE62B6
triadic
#9862BE #BE9862 #62BE98
tetradic
#9862BE #BE6A62 #88BE62 #62B6BE
square
#9862BE #BE6A62 #88BE62 #62B6BE
split-complementary
#9862BE #B6BE62 #62BE6A
monochromatic
#593075 #7A42A0 #9862BE #B48DD0 #D1B9E2

Accessibility & contrast

On white

4.35
#9862BE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#9862BE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9862BE
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9862BE#FFFFFF#000000##000000
##9862BE1.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B77C1
Deuteranopia (green-blind)
#5A7ABC
Tritanopia (blue-blind)
#937187
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #9862be;
/* rgb */ color: rgb(152, 98, 190);
/* oklch */ color: oklch(59.2% 0.145 309.7);
Tailwind
colors: {
  custom: {
    50: '#b890d2',
    500: '#9862be',
    950: '#000000',
  },
}
SCSS
$custom: #9862be;
$custom-light: #b890d2;
$custom-dark: #000000;
JSON
{
  "hex": "#9862be",
  "rgb": {
    "r": 152,
    "g": 98,
    "b": 190
  },
  "hsl": {
    "h": 275.217,
    "s": 41.441,
    "l": 56.471
  },
  "oklch": {
    "l": 0.59228,
    "c": 0.14544,
    "h": 309.7
  },
  "luminance": 0.19128
}

Semantic roles & 50–950 ramp

primary
#9862BE
secondary
#BBD1AB
accent
#D15789
background
#FBF8FC
surface
#F6F0F9
border
#D0CBD2
text
#120D14
muted
#817D82

Preview Lab

Preview with #9862BE

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

Preview Lab → · Contrast checker → · Palette generator →

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