#8135C5#8135C5

#8135C5 is a mid, highly saturated violet. Relative luminance 0.112; OKLCH L 50.9% C 0.211 H 303.7°. Best body text is #FFFFFF at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#8135C5
RGBrgb(129, 53, 197)
HSLhsl(272, 58%, 49%)
HSVhsv(272, 73%, 77%)
CMYKcmyk(34.5%, 73.1%, 0%, 22.7%)
CIE-LABlab(39.99, 58.04, -61.69)
CIE-LCHlch(39.99, 84.70, 313.26°)
OKLaboklab(50.87% 0.1171 -0.1757)
OKLCHoklch(50.87% 0.211 303.7)
XYZxyz(20.4021, 11.2446, 53.9081)
Luminance0.1124 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8135C5 #79C535
analogous
#3935C5 #8135C5 #C535C1
triadic
#8135C5 #C58135 #35C581
tetradic
#8135C5 #C53935 #79C535 #35C1C5
square
#8135C5 #C53935 #79C535 #35C1C5
split-complementary
#8135C5 #C1C535 #35C539
monochromatic
#421B65 #612895 #8135C5 #9F62D5 #BC93E2

Accessibility & contrast

On white

6.46
#8135C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#8135C5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8135C5
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8135C5#FFFFFF#000000##FFFFFF
##8135C51.006.463.256.46
#FFFFFF6.461.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.461.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8135c5;
/* rgb */ color: rgb(129, 53, 197);
/* oklch */ color: oklch(50.9% 0.211 303.7);
Tailwind
colors: {
  custom: {
    50: '#ab73d7',
    500: '#8135c5',
    950: '#000000',
  },
}
SCSS
$custom: #8135c5;
$custom-light: #ab73d7;
$custom-dark: #000000;
JSON
{
  "hex": "#8135c5",
  "rgb": {
    "r": 129,
    "g": 53,
    "b": 197
  },
  "hsl": {
    "h": 271.667,
    "s": 57.6,
    "l": 49.02
  },
  "oklch": {
    "l": 0.50865,
    "c": 0.21112,
    "h": 303.7
  },
  "luminance": 0.11245
}

Semantic roles & 50–950 ramp

primary
#8135C5
secondary
#A9CD89
accent
#E14790
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110915
muted
#807B83

Preview Lab

Preview with #8135C5

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

Preview Lab → · Contrast checker → · Palette generator →

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