#8145CB#8145CB

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

Color values

HEX#8145CB
RGBrgb(129, 69, 203)
HSLhsl(267, 56%, 53%)
HSVhsv(267, 66%, 80%)
CMYKcmyk(36.5%, 66%, 0%, 20.4%)
CIE-LABlab(43.12, 51.99, -60.10)
CIE-LCHlch(43.12, 79.47, 310.87°)
OKLaboklab(53.23% 0.0999 -0.1711)
OKLCHoklch(53.23% 0.198 300.3)
XYZxyz(21.9582, 13.2350, 57.8861)
Luminance0.1323 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8145CB #8FCB45
analogous
#454CCB #8145CB #C445CB
triadic
#8145CB #CB8145 #45CB81
tetradic
#8145CB #CB454C #8FCB45 #45CBC4
square
#8145CB #CB454C #8FCB45 #45CBC4
split-complementary
#8145CB #CBC445 #4CCB45
monochromatic
#462175 #632EA5 #8145CB #A175D8 #C2A5E6

Accessibility & contrast

On white

5.76
#8145CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#8145CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8145CB
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8145CB#FFFFFF#000000##FFFFFF
##8145CB1.005.763.655.76
#FFFFFF5.761.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065CF
Deuteranopia (green-blind)
#0065C8
Tritanopia (blue-blind)
#716482
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #8145cb;
/* rgb */ color: rgb(129, 69, 203);
/* oklch */ color: oklch(53.2% 0.198 300.3);
Tailwind
colors: {
  custom: {
    50: '#ab7cdc',
    500: '#8145cb',
    950: '#000000',
  },
}
SCSS
$custom: #8145cb;
$custom-light: #ab7cdc;
$custom-dark: #000000;
JSON
{
  "hex": "#8145cb",
  "rgb": {
    "r": 129,
    "g": 69,
    "b": 203
  },
  "hsl": {
    "h": 266.866,
    "s": 56.303,
    "l": 53.333
  },
  "oklch": {
    "l": 0.53232,
    "c": 0.19812,
    "h": 300.3
  },
  "luminance": 0.13235
}

Semantic roles & 50–950 ramp

primary
#8145CB
secondary
#B9D399
accent
#E0489C
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110A15
muted
#807C83

Preview Lab

Preview with #8145CB

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

Preview Lab → · Contrast checker → · Palette generator →

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