#8135CA#8135CA

#8135CA is a mid, highly saturated violet. Relative luminance 0.115; OKLCH L 51.3% C 0.216 H 302.5°. Best body text is #FFFFFF at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#8135CA
RGBrgb(129, 53, 202)
HSLhsl(271, 58%, 50%)
HSVhsv(271, 74%, 79%)
CMYKcmyk(36.1%, 73.8%, 0%, 20.8%)
CIE-LABlab(40.37, 59.21, -63.97)
CIE-LCHlch(40.37, 87.16, 312.79°)
OKLaboklab(51.26% 0.1161 -0.1824)
OKLCHoklch(51.26% 0.216 302.5)
XYZxyz(20.9845, 11.4776, 56.9755)
Luminance0.1148 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8135CA #7ECA35
analogous
#3735CA #8135CA #CA35C8
triadic
#8135CA #CA8135 #35CA81
tetradic
#8135CA #CA3735 #7ECA35 #35C8CA
square
#8135CA #CA3735 #7ECA35 #35C8CA
split-complementary
#8135CA #C8CA35 #35CA37
monochromatic
#431C69 #62289A #8135CA #9F65D7 #BD96E3

Accessibility & contrast

On white

6.37
#8135CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#8135CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8135CA
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8135CA#FFFFFF#000000##FFFFFF
##8135CA1.006.373.306.37
#FFFFFF6.371.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ECE
Deuteranopia (green-blind)
#005FC7
Tritanopia (blue-blind)
#725A7D
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #8135ca;
/* rgb */ color: rgb(129, 53, 202);
/* oklch */ color: oklch(51.3% 0.216 302.5);
Tailwind
colors: {
  custom: {
    50: '#ac74db',
    500: '#8135ca',
    950: '#000000',
  },
}
SCSS
$custom: #8135ca;
$custom-light: #ac74db;
$custom-dark: #000000;
JSON
{
  "hex": "#8135ca",
  "rgb": {
    "r": 129,
    "g": 53,
    "b": 202
  },
  "hsl": {
    "h": 270.604,
    "s": 58.431,
    "l": 50
  },
  "oklch": {
    "l": 0.51256,
    "c": 0.21619,
    "h": 302.5
  },
  "luminance": 0.11478
}

Semantic roles & 50–950 ramp

primary
#8135CA
secondary
#ADCF8C
accent
#E24692
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#110915
muted
#807B83

Preview Lab

Preview with #8135CA

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

Preview Lab → · Contrast checker → · Palette generator →

#8135CA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva