#8951CA#8951CA

#8951CA is a mid, vivid violet. Relative luminance 0.155; OKLCH L 55.7% C 0.182 H 302.2°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#8951CA
RGBrgb(137, 81, 202)
HSLhsl(268, 53%, 55%)
HSVhsv(268, 60%, 79%)
CMYKcmyk(32.2%, 59.9%, 0%, 20.8%)
CIE-LABlab(46.27, 47.27, -54.39)
CIE-LCHlch(46.27, 72.06, 311.00°)
OKLaboklab(55.7% 0.0969 -0.1541)
OKLCHoklch(55.7% 0.182 302.2)
XYZxyz(23.9172, 15.4674, 57.5911)
Luminance0.1547 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8951CA #92CA51
analogous
#5155CA #8951CA #C651CA
triadic
#8951CA #CA8951 #51CA89
tetradic
#8951CA #CA5155 #92CA51 #51CAC6
square
#8951CA #CA5155 #92CA51 #51CAC6
split-complementary
#8951CA #CAC651 #55CA51
monochromatic
#4D257B #6B34AA #8951CA #A980D8 #C9AFE7

Accessibility & contrast

On white

5.13
#8951CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#8951CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8951CA
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8951CA#FFFFFF#000000##FFFFFF
##8951CA1.005.134.095.13
#FFFFFF5.131.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C6DCE
Deuteranopia (green-blind)
#2F6DC7
Tritanopia (blue-blind)
#7C6A86
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #8951ca;
/* rgb */ color: rgb(137, 81, 202);
/* oklch */ color: oklch(55.7% 0.182 302.2);
Tailwind
colors: {
  custom: {
    50: '#af84db',
    500: '#8951ca',
    950: '#000000',
  },
}
SCSS
$custom: #8951ca;
$custom-light: #af84db;
$custom-dark: #000000;
JSON
{
  "hex": "#8951ca",
  "rgb": {
    "r": 137,
    "g": 81,
    "b": 202
  },
  "hsl": {
    "h": 267.769,
    "s": 53.304,
    "l": 55.49
  },
  "oklch": {
    "l": 0.557,
    "c": 0.18198,
    "h": 302.2
  },
  "luminance": 0.15467
}

Semantic roles & 50–950 ramp

primary
#8951CA
secondary
#BDD5A2
accent
#DD4B99
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #8951CA

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

Preview Lab → · Contrast checker → · Palette generator →

#8951CA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva