#8145CD#8145CD

#8145CD is a mid, highly saturated violet. Relative luminance 0.133; OKLCH L 53.4% C 0.200 H 299.8°. Best body text is #FFFFFF at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#8145CD
RGBrgb(129, 69, 205)
HSLhsl(266, 58%, 54%)
HSVhsv(266, 66%, 80%)
CMYKcmyk(37.1%, 66.3%, 0%, 19.6%)
CIE-LABlab(43.26, 52.49, -61.02)
CIE-LCHlch(43.26, 80.49, 310.70°)
OKLaboklab(53.38% 0.0997 -0.1738)
OKLCHoklch(53.38% 0.2 299.8)
XYZxyz(22.1981, 13.3309, 59.1494)
Luminance0.1333 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8145CD #91CD45
analogous
#454DCD #8145CD #C545CD
triadic
#8145CD #CD8145 #45CD81
tetradic
#8145CD #CD454D #91CD45 #45CDC5
square
#8145CD #CD454D #91CD45 #45CDC5
split-complementary
#8145CD #CDC545 #4DCD45
monochromatic
#472077 #632DA8 #8145CD #A275DA #C2A5E7

Accessibility & contrast

On white

5.73
#8145CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#8145CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8145CD
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8145CD#FFFFFF#000000##FFFFFF
##8145CD1.005.733.675.73
#FFFFFF5.731.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.731.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8145cd;
/* rgb */ color: rgb(129, 69, 205);
/* oklch */ color: oklch(53.4% 0.200 299.8);
Tailwind
colors: {
  custom: {
    50: '#ab7ddd',
    500: '#8145cd',
    950: '#000000',
  },
}
SCSS
$custom: #8145cd;
$custom-light: #ab7ddd;
$custom-dark: #000000;
JSON
{
  "hex": "#8145cd",
  "rgb": {
    "r": 129,
    "g": 69,
    "b": 205
  },
  "hsl": {
    "h": 266.471,
    "s": 57.627,
    "l": 53.725
  },
  "oklch": {
    "l": 0.5338,
    "c": 0.20036,
    "h": 299.8
  },
  "luminance": 0.13331
}

Semantic roles & 50–950 ramp

primary
#8145CD
secondary
#BAD49A
accent
#E1479D
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110A15
muted
#807C83

Preview Lab

Preview with #8145CD

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

Preview Lab → · Contrast checker → · Palette generator →

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