#8145CC#8145CC

#8145CC is a mid, vivid violet. Relative luminance 0.133; OKLCH L 53.3% C 0.199 H 300.1°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#8145CC
RGBrgb(129, 69, 204)
HSLhsl(267, 57%, 54%)
HSVhsv(267, 66%, 80%)
CMYKcmyk(36.8%, 66.2%, 0%, 20%)
CIE-LABlab(43.19, 52.24, -60.56)
CIE-LCHlch(43.19, 79.98, 310.78°)
OKLaboklab(53.31% 0.0998 -0.1724)
OKLCHoklch(53.31% 0.199 300.1)
XYZxyz(22.0778, 13.2828, 58.5157)
Luminance0.1328 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8145CC #90CC45
analogous
#454CCC #8145CC #C545CC
triadic
#8145CC #CC8145 #45CC81
tetradic
#8145CC #CC454C #90CC45 #45CCC5
square
#8145CC #CC454C #90CC45 #45CCC5
split-complementary
#8145CC #CCC545 #4CCC45
monochromatic
#472076 #632EA6 #8145CC #A275D9 #C2A5E6

Accessibility & contrast

On white

5.74
#8145CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#8145CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8145CC
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8145CC#FFFFFF#000000##FFFFFF
##8145CC1.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066D0
Deuteranopia (green-blind)
#0065C9
Tritanopia (blue-blind)
#706483
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #8145cc;
/* rgb */ color: rgb(129, 69, 204);
/* oklch */ color: oklch(53.3% 0.199 300.1);
Tailwind
colors: {
  custom: {
    50: '#ab7cdc',
    500: '#8145cc',
    950: '#000000',
  },
}
SCSS
$custom: #8145cc;
$custom-light: #ab7cdc;
$custom-dark: #000000;
JSON
{
  "hex": "#8145cc",
  "rgb": {
    "r": 129,
    "g": 69,
    "b": 204
  },
  "hsl": {
    "h": 266.667,
    "s": 56.962,
    "l": 53.529
  },
  "oklch": {
    "l": 0.53306,
    "c": 0.19924,
    "h": 300.1
  },
  "luminance": 0.13283
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8145CC

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

Preview Lab → · Contrast checker → · Palette generator →

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