#8135C7#8135C7

#8135C7 is a mid, highly saturated violet. Relative luminance 0.113; OKLCH L 51.0% C 0.213 H 303.2°. Best body text is #FFFFFF at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#8135C7
RGBrgb(129, 53, 199)
HSLhsl(271, 58%, 49%)
HSVhsv(271, 73%, 78%)
CMYKcmyk(35.2%, 73.4%, 0%, 22%)
CIE-LABlab(40.14, 58.51, -62.60)
CIE-LCHlch(40.14, 85.69, 313.06°)
OKLaboklab(51.02% 0.1167 -0.1784)
OKLCHoklch(51.02% 0.213 303.2)
XYZxyz(20.6328, 11.3369, 55.1230)
Luminance0.1134 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8135C7 #7BC735
analogous
#3835C7 #8135C7 #C735C4
triadic
#8135C7 #C78135 #35C781
tetradic
#8135C7 #C73835 #7BC735 #35C4C7
square
#8135C7 #C73835 #7BC735 #35C4C7
split-complementary
#8135C7 #C4C735 #35C738
monochromatic
#421B66 #622897 #8135C7 #9F64D6 #BD94E2

Accessibility & contrast

On white

6.43
#8135C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#8135C7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8135C7
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8135C7#FFFFFF#000000##FFFFFF
##8135C71.006.433.276.43
#FFFFFF6.431.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DCB
Deuteranopia (green-blind)
#005EC4
Tritanopia (blue-blind)
#73597B
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #8135c7;
/* rgb */ color: rgb(129, 53, 199);
/* oklch */ color: oklch(51.0% 0.213 303.2);
Tailwind
colors: {
  custom: {
    50: '#ab73d9',
    500: '#8135c7',
    950: '#000000',
  },
}
SCSS
$custom: #8135c7;
$custom-light: #ab73d9;
$custom-dark: #000000;
JSON
{
  "hex": "#8135c7",
  "rgb": {
    "r": 129,
    "g": 53,
    "b": 199
  },
  "hsl": {
    "h": 271.233,
    "s": 57.937,
    "l": 49.412
  },
  "oklch": {
    "l": 0.51021,
    "c": 0.21315,
    "h": 303.2
  },
  "luminance": 0.11337
}

Semantic roles & 50–950 ramp

primary
#8135C7
secondary
#ABCE8A
accent
#E14791
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#110915
muted
#807B83

Preview Lab

Preview with #8135C7

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

Preview Lab → · Contrast checker → · Palette generator →

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