#8145D2#8145D2

#8145D2 is a mid, highly saturated violet. Relative luminance 0.136; OKLCH L 53.8% C 0.206 H 298.8°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#8145D2
RGBrgb(129, 69, 210)
HSLhsl(266, 61%, 55%)
HSVhsv(266, 67%, 82%)
CMYKcmyk(38.6%, 67.1%, 0%, 17.6%)
CIE-LABlab(43.62, 53.75, -63.32)
CIE-LCHlch(43.62, 83.05, 310.33°)
OKLaboklab(53.75% 0.0991 -0.1805)
OKLCHoklch(53.75% 0.206 298.8)
XYZxyz(22.8113, 13.5762, 62.3789)
Luminance0.1358 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8145D2 #96D245
analogous
#4550D2 #8145D2 #C845D2
triadic
#8145D2 #D28145 #45D281
tetradic
#8145D2 #D24550 #96D245 #45D2C8
square
#8145D2 #D24550 #96D245 #45D2C8
split-complementary
#8145D2 #D2C845 #50D245
monochromatic
#471F7E #632AAF #8145D2 #A276DE #C4A8EA

Accessibility & contrast

On white

5.65
#8145D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#8145D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8145D2
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8145D2#FFFFFF#000000##FFFFFF
##8145D21.005.653.725.65
#FFFFFF5.651.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D6
Deuteranopia (green-blind)
#0066CF
Tritanopia (blue-blind)
#6E6686
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #8145d2;
/* rgb */ color: rgb(129, 69, 210);
/* oklch */ color: oklch(53.8% 0.206 298.8);
Tailwind
colors: {
  custom: {
    50: '#ac7de1',
    500: '#8145d2',
    950: '#000000',
  },
}
SCSS
$custom: #8145d2;
$custom-light: #ac7de1;
$custom-dark: #000000;
JSON
{
  "hex": "#8145d2",
  "rgb": {
    "r": 129,
    "g": 69,
    "b": 210
  },
  "hsl": {
    "h": 265.532,
    "s": 61.039,
    "l": 54.706
  },
  "oklch": {
    "l": 0.53753,
    "c": 0.20593,
    "h": 298.8
  },
  "luminance": 0.13577
}

Semantic roles & 50–950 ramp

primary
#8145D2
secondary
#BED79C
accent
#E444A0
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110A15
muted
#807C83

Preview Lab

Preview with #8145D2

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

Preview Lab → · Contrast checker → · Palette generator →

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