#8135D2#8135D2

#8135D2 is a mid, highly saturated violet. Relative luminance 0.119; OKLCH L 51.9% C 0.224 H 300.6°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#8135D2
RGBrgb(129, 53, 210)
HSLhsl(269, 64%, 52%)
HSVhsv(269, 75%, 82%)
CMYKcmyk(38.6%, 74.8%, 0%, 17.6%)
CIE-LABlab(41.00, 61.09, -67.57)
CIE-LCHlch(41.00, 91.09, 312.12°)
OKLaboklab(51.9% 0.1143 -0.193)
OKLCHoklch(51.9% 0.224 300.6)
XYZxyz(21.9563, 11.8663, 62.0939)
Luminance0.1187 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8135D2 #86D235
analogous
#3538D2 #8135D2 #D035D2
triadic
#8135D2 #D28135 #35D281
tetradic
#8135D2 #D23538 #86D235 #35D2D0
square
#8135D2 #D23538 #86D235 #35D2D0
split-complementary
#8135D2 #D2D035 #38D235
monochromatic
#451A73 #6325A5 #8135D2 #A067DD #BF99E8

Accessibility & contrast

On white

6.23
#8135D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#8135D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8135D2
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8135D2#FFFFFF#000000##FFFFFF
##8135D21.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060D6
Deuteranopia (green-blind)
#0060CF
Tritanopia (blue-blind)
#6F5E82
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #8135d2;
/* rgb */ color: rgb(129, 53, 210);
/* oklch */ color: oklch(51.9% 0.224 300.6);
Tailwind
colors: {
  custom: {
    50: '#ac74e1',
    500: '#8135d2',
    950: '#000000',
  },
}
SCSS
$custom: #8135d2;
$custom-light: #ac74e1;
$custom-dark: #000000;
JSON
{
  "hex": "#8135d2",
  "rgb": {
    "r": 129,
    "g": 53,
    "b": 210
  },
  "hsl": {
    "h": 269.045,
    "s": 63.563,
    "l": 51.569
  },
  "oklch": {
    "l": 0.51895,
    "c": 0.22429,
    "h": 300.6
  },
  "luminance": 0.11866
}

Semantic roles & 50–950 ramp

primary
#8135D2
secondary
#B3D48F
accent
#E74197
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#110915
muted
#807B83

Preview Lab

Preview with #8135D2

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

Preview Lab → · Contrast checker → · Palette generator →

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