#8135C4#8135C4

#8135C4 is a mid, highly saturated violet. Relative luminance 0.112; OKLCH L 50.8% C 0.210 H 303.9°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#8135C4
RGBrgb(129, 53, 196)
HSLhsl(272, 57%, 49%)
HSVhsv(272, 73%, 77%)
CMYKcmyk(34.2%, 73%, 0%, 23.1%)
CIE-LABlab(39.91, 57.81, -61.23)
CIE-LCHlch(39.91, 84.21, 313.36°)
OKLaboklab(50.79% 0.1173 -0.1743)
OKLCHoklch(50.79% 0.21 303.9)
XYZxyz(20.2879, 11.1989, 53.3066)
Luminance0.1120 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8135C4 #78C435
analogous
#3935C4 #8135C4 #C435C0
triadic
#8135C4 #C48135 #35C481
tetradic
#8135C4 #C43935 #78C435 #35C0C4
square
#8135C4 #C43935 #78C435 #35C0C4
split-complementary
#8135C4 #C0C435 #35C439
monochromatic
#421B64 #612894 #8135C4 #9F62D4 #BC92E1

Accessibility & contrast

On white

6.48
#8135C4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#8135C4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8135C4
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8135C4#FFFFFF#000000##FFFFFF
##8135C41.006.483.246.48
#FFFFFF6.481.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC8
Deuteranopia (green-blind)
#005EC1
Tritanopia (blue-blind)
#74587A
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #8135c4;
/* rgb */ color: rgb(129, 53, 196);
/* oklch */ color: oklch(50.8% 0.210 303.9);
Tailwind
colors: {
  custom: {
    50: '#ab73d7',
    500: '#8135c4',
    950: '#000000',
  },
}
SCSS
$custom: #8135c4;
$custom-light: #ab73d7;
$custom-dark: #000000;
JSON
{
  "hex": "#8135c4",
  "rgb": {
    "r": 129,
    "g": 53,
    "b": 196
  },
  "hsl": {
    "h": 271.888,
    "s": 57.43,
    "l": 48.824
  },
  "oklch": {
    "l": 0.50788,
    "c": 0.21011,
    "h": 303.9
  },
  "luminance": 0.11199
}

Semantic roles & 50–950 ramp

primary
#8135C4
secondary
#A8CC88
accent
#E1478F
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110914
muted
#807B83

Preview Lab

Preview with #8135C4

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

Preview Lab → · Contrast checker → · Palette generator →

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