#8A14CB#8A14CB

#8A14CB is a mid, highly saturated violet. Relative luminance 0.102; OKLCH L 50.0% C 0.245 H 307.8°. Best body text is #FFFFFF at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#8A14CB
RGBrgb(138, 20, 203)
HSLhsl(279, 82%, 44%)
HSVhsv(279, 90%, 80%)
CMYKcmyk(32%, 90.1%, 0%, 20.4%)
CIE-LABlab(38.23, 70.96, -68.00)
CIE-LCHlch(38.23, 98.28, 316.22°)
OKLaboklab(50.05% 0.1504 -0.1937)
OKLCHoklch(50.05% 0.245 307.8)
XYZxyz(21.5086, 10.2157, 57.3271)
Luminance0.1022 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A14CB #55CB14
analogous
#2F14CB #8A14CB #CB14B0
triadic
#8A14CB #CB8A14 #14CB8A
tetradic
#8A14CB #CB2F14 #55CB14 #14B0CB
square
#8A14CB #CB2F14 #55CB14 #14B0CB
split-complementary
#8A14CB #B0CB14 #14CB2F
monochromatic
#3E095C #640F93 #8A14CB #A931EB #C069F0

Accessibility & contrast

On white

6.90
#8A14CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#8A14CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A14CB
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A14CB#FFFFFF#000000##FFFFFF
##8A14CB1.006.903.046.90
#FFFFFF6.901.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056CF
Deuteranopia (green-blind)
#005BC8
Tritanopia (blue-blind)
#7F4D78
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #8a14cb;
/* rgb */ color: rgb(138, 20, 203);
/* oklch */ color: oklch(50.0% 0.245 307.8);
Tailwind
colors: {
  custom: {
    50: '#b368dc',
    500: '#8a14cb',
    950: '#000000',
  },
}
SCSS
$custom: #8a14cb;
$custom-light: #b368dc;
$custom-dark: #000000;
JSON
{
  "hex": "#8a14cb",
  "rgb": {
    "r": 138,
    "g": 20,
    "b": 203
  },
  "hsl": {
    "h": 278.689,
    "s": 82.063,
    "l": 43.725
  },
  "oklch": {
    "l": 0.5005,
    "c": 0.24524,
    "h": 307.8
  },
  "luminance": 0.10215
}

Semantic roles & 50–950 ramp

primary
#8A14CB
secondary
#8DD565
accent
#F82F77
background
#FBF6FD
surface
#F6ECFB
border
#D0C7D4
text
#120715
muted
#817A83

Preview Lab

Preview with #8A14CB

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

Preview Lab → · Contrast checker → · Palette generator →

#8A14CB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva