#814BCB#814BCB

#814BCB is a mid, vivid violet. Relative luminance 0.140; OKLCH L 54.0% C 0.190 H 299.4°. Best body text is #FFFFFF at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#814BCB
RGBrgb(129, 75, 203)
HSLhsl(265, 55%, 55%)
HSVhsv(265, 63%, 80%)
CMYKcmyk(36.5%, 63.1%, 0%, 20.4%)
CIE-LABlab(44.25, 48.91, -58.26)
CIE-LCHlch(44.25, 76.07, 310.01°)
OKLaboklab(54.05% 0.0932 -0.1657)
OKLCHoklch(54.05% 0.19 299.4)
XYZxyz(22.3462, 14.0108, 58.0154)
Luminance0.1401 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#814BCB #95CB4B
analogous
#4B55CB #814BCB #C14BCB
triadic
#814BCB #CB814B #4BCB81
tetradic
#814BCB #CB4B55 #95CB4B #4BCBC1
square
#814BCB #CB4B55 #95CB4B #4BCBC1
split-complementary
#814BCB #CBC14B #55CB4B
monochromatic
#472379 #6331A8 #814BCB #A27AD9 #C3AAE6

Accessibility & contrast

On white

5.52
#814BCB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#814BCB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #814BCB
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##814BCB#FFFFFF#000000##FFFFFF
##814BCB1.005.523.805.52
#FFFFFF5.521.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068CF
Deuteranopia (green-blind)
#1068C8
Tritanopia (blue-blind)
#706784
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #814bcb;
/* rgb */ color: rgb(129, 75, 203);
/* oklch */ color: oklch(54.0% 0.190 299.4);
Tailwind
colors: {
  custom: {
    50: '#ab80dc',
    500: '#814bcb',
    950: '#000000',
  },
}
SCSS
$custom: #814bcb;
$custom-light: #ab80dc;
$custom-dark: #000000;
JSON
{
  "hex": "#814bcb",
  "rgb": {
    "r": 129,
    "g": 75,
    "b": 203
  },
  "hsl": {
    "h": 265.313,
    "s": 55.172,
    "l": 54.51
  },
  "oklch": {
    "l": 0.5405,
    "c": 0.19013,
    "h": 299.4
  },
  "luminance": 0.14011
}

Semantic roles & 50–950 ramp

primary
#814BCB
secondary
#BDD49E
accent
#DF49A0
background
#FAF8FD
surface
#F5EFFB
border
#CFCAD4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #814BCB

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

Preview Lab → · Contrast checker → · Palette generator →

#814BCB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva