#8135CB#8135CB

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

Color values

HEX#8135CB
RGBrgb(129, 53, 203)
HSLhsl(270, 59%, 50%)
HSVhsv(270, 74%, 80%)
CMYKcmyk(36.5%, 73.9%, 0%, 20.4%)
CIE-LABlab(40.45, 59.44, -64.42)
CIE-LCHlch(40.45, 87.66, 312.70°)
OKLaboklab(51.33% 0.1159 -0.1837)
OKLCHoklch(51.33% 0.217 302.2)
XYZxyz(21.1033, 11.5251, 57.6011)
Luminance0.1153 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8135CB #7FCB35
analogous
#3635CB #8135CB #CB35CA
triadic
#8135CB #CB8135 #35CB81
tetradic
#8135CB #CB3635 #7FCB35 #35CACB
square
#8135CB #CB3635 #7FCB35 #35CACB
split-complementary
#8135CB #CACB35 #35CB36
monochromatic
#431B6A #62289B #8135CB #9F66D8 #BE96E4

Accessibility & contrast

On white

6.35
#8135CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#8135CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8135CB
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8135CB#FFFFFF#000000##FFFFFF
##8135CB1.006.353.316.35
#FFFFFF6.351.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ECF
Deuteranopia (green-blind)
#005FC8
Tritanopia (blue-blind)
#715B7E
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #8135cb;
/* rgb */ color: rgb(129, 53, 203);
/* oklch */ color: oklch(51.3% 0.217 302.2);
Tailwind
colors: {
  custom: {
    50: '#ac74dc',
    500: '#8135cb',
    950: '#000000',
  },
}
SCSS
$custom: #8135cb;
$custom-light: #ac74dc;
$custom-dark: #000000;
JSON
{
  "hex": "#8135cb",
  "rgb": {
    "r": 129,
    "g": 53,
    "b": 203
  },
  "hsl": {
    "h": 270.4,
    "s": 59.055,
    "l": 50.196
  },
  "oklch": {
    "l": 0.51335,
    "c": 0.21721,
    "h": 302.2
  },
  "luminance": 0.11525
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8135CB

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

Preview Lab → · Contrast checker → · Palette generator →

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