#8135BA#8135BA

#8135BA is a mid, vivid violet. Relative luminance 0.108; OKLCH L 50.0% C 0.200 H 306.5°. Best body text is #FFFFFF at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#8135BA
RGBrgb(129, 53, 186)
HSLhsl(274, 56%, 47%)
HSVhsv(274, 72%, 73%)
CMYKcmyk(30.6%, 71.5%, 0%, 27.1%)
CIE-LABlab(39.17, 55.51, -56.57)
CIE-LCHlch(39.17, 79.26, 314.45°)
OKLaboklab(50.03% 0.1191 -0.1606)
OKLCHoklch(50.03% 0.2 306.5)
XYZxyz(19.1874, 10.7587, 47.5107)
Luminance0.1076 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8135BA #6EBA35
analogous
#3F35BA #8135BA #BA35B1
triadic
#8135BA #BA8135 #35BA81
tetradic
#8135BA #BA3F35 #6EBA35 #35B1BA
square
#8135BA #BA3F35 #6EBA35 #35B1BA
split-complementary
#8135BA #B1BA35 #35BA3F
monochromatic
#3F1A5B #60278A #8135BA #9E5CD0 #BB8BDE

Accessibility & contrast

On white

6.66
#8135BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#8135BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8135BA
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8135BA#FFFFFF#000000##FFFFFF
##8135BA1.006.663.156.66
#FFFFFF6.661.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ABE
Deuteranopia (green-blind)
#005DB7
Tritanopia (blue-blind)
#775474
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #8135ba;
/* rgb */ color: rgb(129, 53, 186);
/* oklch */ color: oklch(50.0% 0.200 306.5);
Tailwind
colors: {
  custom: {
    50: '#aa73d0',
    500: '#8135ba',
    950: '#000000',
  },
}
SCSS
$custom: #8135ba;
$custom-light: #aa73d0;
$custom-dark: #000000;
JSON
{
  "hex": "#8135ba",
  "rgb": {
    "r": 129,
    "g": 53,
    "b": 186
  },
  "hsl": {
    "h": 274.286,
    "s": 55.649,
    "l": 46.863
  },
  "oklch": {
    "l": 0.50028,
    "c": 0.19995,
    "h": 306.5
  },
  "luminance": 0.10759
}

Semantic roles & 50–950 ramp

primary
#8135BA
secondary
#A0C882
accent
#DF4989
background
#FAF7FC
surface
#F5EDF9
border
#CFC8D2
text
#110814
muted
#807B82

Preview Lab

Preview with #8135BA

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

Preview Lab → · Contrast checker → · Palette generator →

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