#8145CF#8145CF

#8145CF is a mid, highly saturated violet. Relative luminance 0.134; OKLCH L 53.5% C 0.203 H 299.4°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#8145CF
RGBrgb(129, 69, 207)
HSLhsl(266, 59%, 54%)
HSVhsv(266, 67%, 81%)
CMYKcmyk(37.7%, 66.7%, 0%, 18.8%)
CIE-LABlab(43.40, 52.99, -61.94)
CIE-LCHlch(43.40, 81.52, 310.55°)
OKLaboklab(53.53% 0.0994 -0.1765)
OKLCHoklch(53.53% 0.203 299.4)
XYZxyz(22.4411, 13.4281, 60.4290)
Luminance0.1343 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8145CF #93CF45
analogous
#454ECF #8145CF #C645CF
triadic
#8145CF #CF8145 #45CF81
tetradic
#8145CF #CF454E #93CF45 #45CFC6
square
#8145CF #CF454E #93CF45 #45CFC6
split-complementary
#8145CF #CFC645 #4ECF45
monochromatic
#47207A #632CAB #8145CF #A276DC #C3A6E8

Accessibility & contrast

On white

5.70
#8145CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#8145CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8145CF
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8145CF#FFFFFF#000000##FFFFFF
##8145CF1.005.703.695.70
#FFFFFF5.701.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066D3
Deuteranopia (green-blind)
#0065CC
Tritanopia (blue-blind)
#6F6584
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #8145cf;
/* rgb */ color: rgb(129, 69, 207);
/* oklch */ color: oklch(53.5% 0.203 299.4);
Tailwind
colors: {
  custom: {
    50: '#ab7ddf',
    500: '#8145cf',
    950: '#000000',
  },
}
SCSS
$custom: #8145cf;
$custom-light: #ab7ddf;
$custom-dark: #000000;
JSON
{
  "hex": "#8145cf",
  "rgb": {
    "r": 129,
    "g": 69,
    "b": 207
  },
  "hsl": {
    "h": 266.087,
    "s": 58.974,
    "l": 54.118
  },
  "oklch": {
    "l": 0.53528,
    "c": 0.20258,
    "h": 299.4
  },
  "luminance": 0.13428
}

Semantic roles & 50–950 ramp

primary
#8145CF
secondary
#BCD59B
accent
#E2469E
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110A15
muted
#807C83

Preview Lab

Preview with #8145CF

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

Preview Lab → · Contrast checker → · Palette generator →

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