#8962CD#8962CD

#8962CD is a mid, vivid violet. Relative luminance 0.185; OKLCH L 58.5% C 0.160 H 298.1°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#8962CD
RGBrgb(137, 98, 205)
HSLhsl(262, 52%, 59%)
HSVhsv(262, 52%, 80%)
CMYKcmyk(33.2%, 52.2%, 0%, 19.6%)
CIE-LABlab(50.05, 38.62, -50.05)
CIE-LCHlch(50.05, 63.22, 307.66°)
OKLaboklab(58.54% 0.0755 -0.1414)
OKLCHoklch(58.54% 0.16 298.1)
XYZxyz(25.7010, 18.4612, 59.9551)
Luminance0.1846 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8962CD #A6CD62
analogous
#6271CD #8962CD #BF62CD
triadic
#8962CD #CD8962 #62CD89
tetradic
#8962CD #CD6271 #A6CD62 #62CDBF
square
#8962CD #CD6271 #A6CD62 #62CDBF
split-complementary
#8962CD #CDBF62 #71CD62
monochromatic
#4E2C89 #683AB7 #8962CD #AC90DC #CFBFEB

Accessibility & contrast

On white

4.48
#8962CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#8962CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8962CD
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8962CD#FFFFFF#000000##000000
##8962CD1.004.484.694.69
#FFFFFF4.481.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3977D1
Deuteranopia (green-blind)
#4476CA
Tritanopia (blue-blind)
#7A778E
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #8962cd;
/* rgb */ color: rgb(137, 98, 205);
/* oklch */ color: oklch(58.5% 0.160 298.1);
Tailwind
colors: {
  custom: {
    50: '#af90dd',
    500: '#8962cd',
    950: '#000000',
  },
}
SCSS
$custom: #8962cd;
$custom-light: #af90dd;
$custom-dark: #000000;
JSON
{
  "hex": "#8962cd",
  "rgb": {
    "r": 137,
    "g": 98,
    "b": 205
  },
  "hsl": {
    "h": 261.869,
    "s": 51.691,
    "l": 59.412
  },
  "oklch": {
    "l": 0.58541,
    "c": 0.16026,
    "h": 298.1
  },
  "luminance": 0.18462
}

Semantic roles & 50–950 ramp

primary
#8962CD
secondary
#CBDAB1
accent
#DB4DA7
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83

Preview Lab

Preview with #8962CD

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

Preview Lab → · Contrast checker → · Palette generator →

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