#8145CA#8145CA

#8145CA is a mid, vivid violet. Relative luminance 0.132; OKLCH L 53.2% C 0.197 H 300.5°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#8145CA
RGBrgb(129, 69, 202)
HSLhsl(267, 56%, 53%)
HSVhsv(267, 66%, 79%)
CMYKcmyk(36.1%, 65.8%, 0%, 20.8%)
CIE-LABlab(43.04, 51.74, -59.63)
CIE-LCHlch(43.04, 78.95, 310.95°)
OKLaboklab(53.16% 0.1 -0.1697)
OKLCHoklch(53.16% 0.197 300.5)
XYZxyz(21.8395, 13.1875, 57.2605)
Luminance0.1319 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8145CA #8ECA45
analogous
#454BCA #8145CA #C445CA
triadic
#8145CA #CA8145 #45CA81
tetradic
#8145CA #CA454B #8ECA45 #45CAC4
square
#8145CA #CA454B #8ECA45 #45CAC4
split-complementary
#8145CA #CAC445 #4BCA45
monochromatic
#462174 #632FA3 #8145CA #A175D8 #C2A4E5

Accessibility & contrast

On white

5.77
#8145CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#8145CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8145CA
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8145CA#FFFFFF#000000##FFFFFF
##8145CA1.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065CE
Deuteranopia (green-blind)
#0065C7
Tritanopia (blue-blind)
#716382
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #8145ca;
/* rgb */ color: rgb(129, 69, 202);
/* oklch */ color: oklch(53.2% 0.197 300.5);
Tailwind
colors: {
  custom: {
    50: '#ab7cdb',
    500: '#8145ca',
    950: '#000000',
  },
}
SCSS
$custom: #8145ca;
$custom-light: #ab7cdb;
$custom-dark: #000000;
JSON
{
  "hex": "#8145ca",
  "rgb": {
    "r": 129,
    "g": 69,
    "b": 202
  },
  "hsl": {
    "h": 267.068,
    "s": 55.649,
    "l": 53.137
  },
  "oklch": {
    "l": 0.53159,
    "c": 0.19699,
    "h": 300.5
  },
  "luminance": 0.13188
}

Semantic roles & 50–950 ramp

primary
#8145CA
secondary
#B8D299
accent
#DF499B
background
#FAF7FD
surface
#F5EEFB
border
#CFC9D4
text
#110A15
muted
#807C83

Preview Lab

Preview with #8145CA

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

Preview Lab → · Contrast checker → · Palette generator →

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