#8962DF#8962DF

#8962DF is a mid, vivid violet. Relative luminance 0.194; OKLCH L 59.7% C 0.183 H 294.6°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#8962DF
RGBrgb(137, 98, 223)
HSLhsl(259, 66%, 63%)
HSVhsv(259, 56%, 87%)
CMYKcmyk(38.6%, 56.1%, 0%, 12.5%)
CIE-LABlab(51.13, 43.34, -58.55)
CIE-LCHlch(51.13, 72.85, 306.51°)
OKLaboklab(59.69% 0.0762 -0.1663)
OKLCHoklch(59.69% 0.183 294.6)
XYZxyz(28.0000, 19.3808, 72.0634)
Luminance0.1938 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8962DF #B8DF62
analogous
#6279DF #8962DF #C762DF
triadic
#8962DF #DF8962 #62DF89
tetradic
#8962DF #DF6279 #B8DF62 #62DFC7
square
#8962DF #DF6279 #B8DF62 #62DFC7
split-complementary
#8962DF #DFC762 #79DF62
monochromatic
#4B22A5 #632FD5 #8962DF #AF95E9 #D5C8F4

Accessibility & contrast

On white

4.31
#8962DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#8962DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8962DF
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8962DF#FFFFFF#000000##000000
##8962DF1.004.314.884.88
#FFFFFF4.311.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#217BE3
Deuteranopia (green-blind)
#2F78DC
Tritanopia (blue-blind)
#737C97
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #8962df;
/* rgb */ color: rgb(137, 98, 223);
/* oklch */ color: oklch(59.7% 0.183 294.6);
Tailwind
colors: {
  custom: {
    50: '#b090ea',
    500: '#8962df',
    950: '#000000',
  },
}
SCSS
$custom: #8962df;
$custom-light: #b090ea;
$custom-dark: #000000;
JSON
{
  "hex": "#8962df",
  "rgb": {
    "r": 137,
    "g": 98,
    "b": 223
  },
  "hsl": {
    "h": 258.72,
    "s": 66.138,
    "l": 62.941
  },
  "oklch": {
    "l": 0.59686,
    "c": 0.18293,
    "h": 294.6
  },
  "luminance": 0.19381
}

Semantic roles & 50–950 ramp

primary
#8962DF
secondary
#D7E5B8
accent
#CE1795
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #8962DF

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

Preview Lab → · Contrast checker → · Palette generator →

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