#8962CF#8962CF

#8962CF is a mid, vivid violet. Relative luminance 0.186; OKLCH L 58.7% C 0.163 H 297.7°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#8962CF
RGBrgb(137, 98, 207)
HSLhsl(261, 53%, 60%)
HSVhsv(261, 53%, 81%)
CMYKcmyk(33.8%, 52.7%, 0%, 18.8%)
CIE-LABlab(50.17, 39.14, -51.01)
CIE-LCHlch(50.17, 64.29, 307.50°)
OKLaboklab(58.67% 0.0756 -0.1442)
OKLCHoklch(58.67% 0.163 297.7)
XYZxyz(25.9439, 18.5584, 61.2347)
Luminance0.1856 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8962CF #A8CF62
analogous
#6271CF #8962CF #C062CF
triadic
#8962CF #CF8962 #62CF89
tetradic
#8962CF #CF6271 #A8CF62 #62CFC0
square
#8962CF #CF6271 #A8CF62 #62CFC0
split-complementary
#8962CF #CFC062 #71CF62
monochromatic
#4D2B8C #6739BB #8962CF #AC91DD #CFC0EC

Accessibility & contrast

On white

4.46
#8962CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#8962CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8962CF
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8962CF#FFFFFF#000000##000000
##8962CF1.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3778D3
Deuteranopia (green-blind)
#4276CC
Tritanopia (blue-blind)
#7A788F
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #8962cf;
/* rgb */ color: rgb(137, 98, 207);
/* oklch */ color: oklch(58.7% 0.163 297.7);
Tailwind
colors: {
  custom: {
    50: '#af90de',
    500: '#8962cf',
    950: '#000000',
  },
}
SCSS
$custom: #8962cf;
$custom-light: #af90de;
$custom-dark: #000000;
JSON
{
  "hex": "#8962cf",
  "rgb": {
    "r": 137,
    "g": 98,
    "b": 207
  },
  "hsl": {
    "h": 261.468,
    "s": 53.171,
    "l": 59.804
  },
  "oklch": {
    "l": 0.58665,
    "c": 0.16281,
    "h": 297.7
  },
  "luminance": 0.18559
}

Semantic roles & 50–950 ramp

primary
#8962CF
secondary
#CCDBB1
accent
#DD4BA9
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83

Preview Lab

Preview with #8962CF

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

Preview Lab → · Contrast checker → · Palette generator →

#8962CF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva