#8145D4#8145D4

#8145D4 is a mid, highly saturated violet. Relative luminance 0.137; OKLCH L 53.9% C 0.208 H 298.3°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#8145D4
RGBrgb(129, 69, 212)
HSLhsl(265, 62%, 55%)
HSVhsv(265, 67%, 83%)
CMYKcmyk(39.2%, 67.5%, 0%, 16.9%)
CIE-LABlab(43.77, 54.25, -64.23)
CIE-LCHlch(43.77, 84.07, 310.19°)
OKLaboklab(53.9% 0.0988 -0.1832)
OKLCHoklch(53.9% 0.208 298.3)
XYZxyz(23.0620, 13.6765, 63.6994)
Luminance0.1368 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8145D4 #98D445
analogous
#4550D4 #8145D4 #C845D4
triadic
#8145D4 #D48145 #45D481
tetradic
#8145D4 #D44550 #98D445 #45D4C8
square
#8145D4 #D44550 #98D445 #45D4C8
split-complementary
#8145D4 #D4C845 #50D445
monochromatic
#471E81 #6329B3 #8145D4 #A377DF #C4A8EB

Accessibility & contrast

On white

5.62
#8145D4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#8145D4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8145D4
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8145D4#FFFFFF#000000##FFFFFF
##8145D41.005.623.745.62
#FFFFFF5.621.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D8
Deuteranopia (green-blind)
#0066D1
Tritanopia (blue-blind)
#6D6787
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #8145d4;
/* rgb */ color: rgb(129, 69, 212);
/* oklch */ color: oklch(53.9% 0.208 298.3);
Tailwind
colors: {
  custom: {
    50: '#ac7de2',
    500: '#8145d4',
    950: '#000000',
  },
}
SCSS
$custom: #8145d4;
$custom-light: #ac7de2;
$custom-dark: #000000;
JSON
{
  "hex": "#8145d4",
  "rgb": {
    "r": 129,
    "g": 69,
    "b": 212
  },
  "hsl": {
    "h": 265.175,
    "s": 62.445,
    "l": 55.098
  },
  "oklch": {
    "l": 0.53904,
    "c": 0.20815,
    "h": 298.3
  },
  "luminance": 0.13677
}

Semantic roles & 50–950 ramp

primary
#8145D4
secondary
#BFD89C
accent
#E642A1
background
#FBF7FE
surface
#F6EEFC
border
#D0C9D5
text
#110A15
muted
#807C84

Preview Lab

Preview with #8145D4

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

Preview Lab → · Contrast checker → · Palette generator →

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