#8168EA#8168EA

#8168EA is a mid, vivid violet. Relative luminance 0.205; OKLCH L 60.7% C 0.188 H 288.3°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#8168EA
RGBrgb(129, 104, 234)
HSLhsl(252, 76%, 66%)
HSVhsv(252, 56%, 92%)
CMYKcmyk(44.9%, 55.6%, 0%, 8.2%)
CIE-LABlab(52.41, 41.18, -62.73)
CIE-LCHlch(52.41, 75.03, 303.28°)
OKLaboklab(60.67% 0.0592 -0.1788)
OKLCHoklch(60.67% 0.188 288.3)
XYZxyz(28.8506, 20.5072, 80.2641)
Luminance0.2051 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8168EA #D1EA68
analogous
#6890EA #8168EA #C268EA
triadic
#8168EA #EA8168 #68EA81
tetradic
#8168EA #EA6890 #D1EA68 #68EAC2
square
#8168EA #EA6890 #D1EA68 #68EAC2
split-complementary
#8168EA #EAC268 #90EA68
monochromatic
#3A1ABD #5432E3 #8168EA #AE9EF1 #DBD3F9

Accessibility & contrast

On white

4.12
#8168EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#8168EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8168EA
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8168EA#FFFFFF#000000##000000
##8168EA1.004.125.105.10
#FFFFFF4.121.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#1A80EE
Deuteranopia (green-blind)
#1D7AE7
Tritanopia (blue-blind)
#60859F
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #8168ea;
/* rgb */ color: rgb(129, 104, 234);
/* oklch */ color: oklch(60.7% 0.188 288.3);
Tailwind
colors: {
  custom: {
    50: '#ac94f1',
    500: '#8168ea',
    950: '#000000',
  },
}
SCSS
$custom: #8168ea;
$custom-light: #ac94f1;
$custom-dark: #000000;
JSON
{
  "hex": "#8168ea",
  "rgb": {
    "r": 129,
    "g": 104,
    "b": 234
  },
  "hsl": {
    "h": 251.538,
    "s": 75.581,
    "l": 66.275
  },
  "oklch": {
    "l": 0.60674,
    "c": 0.18837,
    "h": 288.3
  },
  "luminance": 0.20508
}

Semantic roles & 50–950 ramp

primary
#8168EA
secondary
#E4ECC2
accent
#D80EB1
background
#FBF9FE
surface
#F6F1FD
border
#D0CBD5
text
#110D17
muted
#807E85

Preview Lab

Preview with #8168EA

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

Preview Lab → · Contrast checker → · Palette generator →

#8168EA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva