#8135CC#8135CC

#8135CC is a mid, highly saturated violet. Relative luminance 0.116; OKLCH L 51.4% C 0.218 H 302.0°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#8135CC
RGBrgb(129, 53, 204)
HSLhsl(270, 60%, 50%)
HSVhsv(270, 74%, 80%)
CMYKcmyk(36.8%, 74%, 0%, 20%)
CIE-LABlab(40.53, 59.68, -64.88)
CIE-LCHlch(40.53, 88.15, 312.61°)
OKLaboklab(51.42% 0.1157 -0.185)
OKLCHoklch(51.42% 0.218 302)
XYZxyz(21.2228, 11.5729, 58.2307)
Luminance0.1157 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8135CC #80CC35
analogous
#3535CC #8135CC #CC35CB
triadic
#8135CC #CC8135 #35CC81
tetradic
#8135CC #CC3535 #80CC35 #35CBCC
square
#8135CC #CC3535 #80CC35 #35CBCC
split-complementary
#8135CC #CBCC35 #35CC35
monochromatic
#441B6B #62279C #8135CC #9F66D8 #BE97E5

Accessibility & contrast

On white

6.34
#8135CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #8135CC
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8135CC#FFFFFF#000000##FFFFFF
##8135CC1.006.343.316.34
#FFFFFF6.341.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ED0
Deuteranopia (green-blind)
#005FC9
Tritanopia (blue-blind)
#715B7E
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #8135cc;
/* rgb */ color: rgb(129, 53, 204);
/* oklch */ color: oklch(51.4% 0.218 302.0);
Tailwind
colors: {
  custom: {
    50: '#ac74dd',
    500: '#8135cc',
    950: '#000000',
  },
}
SCSS
$custom: #8135cc;
$custom-light: #ac74dd;
$custom-dark: #000000;
JSON
{
  "hex": "#8135cc",
  "rgb": {
    "r": 129,
    "g": 53,
    "b": 204
  },
  "hsl": {
    "h": 270.199,
    "s": 59.684,
    "l": 50.392
  },
  "oklch": {
    "l": 0.51415,
    "c": 0.21822,
    "h": 302
  },
  "luminance": 0.11573
}

Semantic roles & 50–950 ramp

primary
#8135CC
secondary
#AED08D
accent
#E34593
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#110915
muted
#807B83

Preview Lab

Preview with #8135CC

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

Preview Lab → · Contrast checker → · Palette generator →

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