#8A35D0#8A35D0

#8A35D0 is a mid, highly saturated violet. Relative luminance 0.125; OKLCH L 52.8% C 0.224 H 304.6°. Best body text is #FFFFFF at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#8A35D0
RGBrgb(138, 53, 208)
HSLhsl(273, 62%, 51%)
HSVhsv(273, 75%, 82%)
CMYKcmyk(33.7%, 74.5%, 0%, 18.4%)
CIE-LABlab(42.01, 62.17, -64.74)
CIE-LCHlch(42.01, 89.75, 313.84°)
OKLaboklab(52.8% 0.1273 -0.1843)
OKLCHoklch(52.8% 0.224 304.6)
XYZxyz(23.1369, 12.5037, 60.8568)
Luminance0.1250 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A35D0 #7BD035
analogous
#3C35D0 #8A35D0 #D035C9
triadic
#8A35D0 #D08A35 #35D08A
tetradic
#8A35D0 #D03C35 #7BD035 #35C9D0
square
#8A35D0 #D03C35 #7BD035 #35C9D0
split-complementary
#8A35D0 #C9D035 #35D03C
monochromatic
#491A70 #6A26A2 #8A35D0 #A767DC #C498E7

Accessibility & contrast

On white

6.00
#8A35D0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#8A35D0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A35D0
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A35D0#FFFFFF#000000##FFFFFF
##8A35D01.006.003.506.00
#FFFFFF6.001.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061D4
Deuteranopia (green-blind)
#0063CD
Tritanopia (blue-blind)
#7D5C80
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #8a35d0;
/* rgb */ color: rgb(138, 53, 208);
/* oklch */ color: oklch(52.8% 0.224 304.6);
Tailwind
colors: {
  custom: {
    50: '#b275df',
    500: '#8a35d0',
    950: '#000000',
  },
}
SCSS
$custom: #8a35d0;
$custom-light: #b275df;
$custom-dark: #000000;
JSON
{
  "hex": "#8a35d0",
  "rgb": {
    "r": 138,
    "g": 53,
    "b": 208
  },
  "hsl": {
    "h": 272.903,
    "s": 62.249,
    "l": 51.176
  },
  "oklch": {
    "l": 0.52802,
    "c": 0.22398,
    "h": 304.6
  },
  "luminance": 0.12504
}

Semantic roles & 50–950 ramp

primary
#8A35D0
secondary
#ADD38E
accent
#E5428C
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#120915
muted
#817B83

Preview Lab

Preview with #8A35D0

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

Preview Lab → · Contrast checker → · Palette generator →

#8A35D0 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva