#8123D4#8123D4

#8123D4 is a mid, highly saturated violet. Relative luminance 0.106; OKLCH L 50.5% C 0.242 H 301.6°. Best body text is #FFFFFF at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#8123D4
RGBrgb(129, 35, 212)
HSLhsl(272, 72%, 48%)
HSVhsv(272, 83%, 83%)
CMYKcmyk(39.2%, 83.5%, 0%, 16.9%)
CIE-LABlab(38.94, 68.02, -72.11)
CIE-LCHlch(38.94, 99.12, 313.33°)
OKLaboklab(50.51% 0.127 -0.2061)
OKLCHoklch(50.51% 0.242 301.6)
XYZxyz(21.5350, 10.6225, 63.1904)
Luminance0.1062 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8123D4 #76D423
analogous
#2823D4 #8123D4 #D423CE
triadic
#8123D4 #D48123 #23D481
tetradic
#8123D4 #D42823 #76D423 #23CED4
square
#8123D4 #D42823 #76D423 #23CED4
split-complementary
#8123D4 #CED423 #23D428
monochromatic
#41126B #611A9F #8123D4 #9F52E2 #BC86EB

Accessibility & contrast

On white

6.72
#8123D4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#8123D4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8123D4
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8123D4#FFFFFF#000000##FFFFFF
##8123D41.006.723.126.72
#FFFFFF6.721.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BD9
Deuteranopia (green-blind)
#005BD1
Tritanopia (blue-blind)
#6E577F
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #8123d4;
/* rgb */ color: rgb(129, 35, 212);
/* oklch */ color: oklch(50.5% 0.242 301.6);
Tailwind
colors: {
  custom: {
    50: '#ad6ce2',
    500: '#8123d4',
    950: '#000000',
  },
}
SCSS
$custom: #8123d4;
$custom-light: #ad6ce2;
$custom-dark: #000000;
JSON
{
  "hex": "#8123d4",
  "rgb": {
    "r": 129,
    "g": 35,
    "b": 212
  },
  "hsl": {
    "h": 271.864,
    "s": 71.66,
    "l": 48.431
  },
  "oklch": {
    "l": 0.50508,
    "c": 0.24212,
    "h": 301.6
  },
  "luminance": 0.10623
}

Semantic roles & 50–950 ramp

primary
#8123D4
secondary
#A7D47E
accent
#EE398E
background
#FBF6FE
surface
#F6ECFC
border
#D0C7D5
text
#110816
muted
#807A84

Preview Lab

Preview with #8123D4

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

Preview Lab → · Contrast checker → · Palette generator →

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