#8135B2#8135B2

#8135B2 is a mid, vivid violet. Relative luminance 0.104; OKLCH L 49.4% C 0.192 H 308.8°. Best body text is #FFFFFF at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#8135B2
RGBrgb(129, 53, 178)
HSLhsl(276, 54%, 45%)
HSVhsv(276, 70%, 70%)
CMYKcmyk(27.5%, 70.2%, 0%, 30.2%)
CIE-LABlab(38.60, 53.69, -52.77)
CIE-LCHlch(38.60, 75.29, 315.49°)
OKLaboklab(49.44% 0.1202 -0.1495)
OKLCHoklch(49.44% 0.192 308.8)
XYZxyz(18.3606, 10.4280, 43.1564)
Luminance0.1043 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8135B2 #66B235
analogous
#4235B2 #8135B2 #B235A4
triadic
#8135B2 #B28135 #35B281
tetradic
#8135B2 #B24235 #66B235 #35A4B2
square
#8135B2 #B24235 #66B235 #35A4B2
split-complementary
#8135B2 #A4B235 #35B242
monochromatic
#3D1954 #5F2783 #8135B2 #9F57CD #BA86DB

Accessibility & contrast

On white

6.81
#8135B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#8135B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8135B2
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8135B2#FFFFFF#000000##FFFFFF
##8135B21.006.813.096.81
#FFFFFF6.811.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B6
Deuteranopia (green-blind)
#195CAF
Tritanopia (blue-blind)
#7A5170
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #8135b2;
/* rgb */ color: rgb(129, 53, 178);
/* oklch */ color: oklch(49.4% 0.192 308.8);
Tailwind
colors: {
  custom: {
    50: '#aa73ca',
    500: '#8135b2',
    950: '#000000',
  },
}
SCSS
$custom: #8135b2;
$custom-light: #aa73ca;
$custom-dark: #000000;
JSON
{
  "hex": "#8135b2",
  "rgb": {
    "r": 129,
    "g": 53,
    "b": 178
  },
  "hsl": {
    "h": 276.48,
    "s": 54.113,
    "l": 45.294
  },
  "oklch": {
    "l": 0.49441,
    "c": 0.19181,
    "h": 308.8
  },
  "luminance": 0.10428
}

Semantic roles & 50–950 ramp

primary
#8135B2
secondary
#9AC57E
accent
#DD4A84
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100813
muted
#7F7B82

Preview Lab

Preview with #8135B2

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

Preview Lab → · Contrast checker → · Palette generator →

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