#8135AF#8135AF

#8135AF is a mid, vivid violet. Relative luminance 0.103; OKLCH L 49.2% C 0.189 H 309.7°. Best body text is #FFFFFF at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#8135AF
RGBrgb(129, 53, 175)
HSLhsl(277, 54%, 45%)
HSVhsv(277, 70%, 69%)
CMYKcmyk(26.3%, 69.7%, 0%, 31.4%)
CIE-LABlab(38.39, 53.02, -51.33)
CIE-LCHlch(38.39, 73.80, 315.93°)
OKLaboklab(49.23% 0.1206 -0.1452)
OKLCHoklch(49.23% 0.189 309.7)
XYZxyz(18.0627, 10.3088, 41.5874)
Luminance0.1031 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8135AF #63AF35
analogous
#4435AF #8135AF #AF35A0
triadic
#8135AF #AF8135 #35AF81
tetradic
#8135AF #AF4435 #63AF35 #35A0AF
square
#8135AF #AF4435 #63AF35 #35A0AF
split-complementary
#8135AF #A0AF35 #35AF44
monochromatic
#3C1951 #5E2780 #8135AF #9F56CC #BA85DA

Accessibility & contrast

On white

6.86
#8135AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#8135AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8135AF
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8135AF#FFFFFF#000000##FFFFFF
##8135AF1.006.863.066.86
#FFFFFF6.861.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B3
Deuteranopia (green-blind)
#1F5BAC
Tritanopia (blue-blind)
#7A506E
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #8135af;
/* rgb */ color: rgb(129, 53, 175);
/* oklch */ color: oklch(49.2% 0.189 309.7);
Tailwind
colors: {
  custom: {
    50: '#aa72c8',
    500: '#8135af',
    950: '#000000',
  },
}
SCSS
$custom: #8135af;
$custom-light: #aa72c8;
$custom-dark: #000000;
JSON
{
  "hex": "#8135af",
  "rgb": {
    "r": 129,
    "g": 53,
    "b": 175
  },
  "hsl": {
    "h": 277.377,
    "s": 53.509,
    "l": 44.706
  },
  "oklch": {
    "l": 0.49226,
    "c": 0.18876,
    "h": 309.7
  },
  "luminance": 0.10308
}

Semantic roles & 50–950 ramp

primary
#8135AF
secondary
#97C47C
accent
#DD4B82
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100813
muted
#7F7B82

Preview Lab

Preview with #8135AF

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

Preview Lab → · Contrast checker → · Palette generator →

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