#8A35C6#8A35C6

#8A35C6 is a mid, highly saturated violet. Relative luminance 0.120; OKLCH L 52.0% C 0.214 H 307.1°. Best body text is #FFFFFF at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#8A35C6
RGBrgb(138, 53, 198)
HSLhsl(275, 58%, 49%)
HSVhsv(275, 73%, 78%)
CMYKcmyk(30.3%, 73.2%, 0%, 22.4%)
CIE-LABlab(41.26, 59.93, -60.15)
CIE-LCHlch(41.26, 84.91, 314.90°)
OKLaboklab(52.04% 0.1292 -0.1708)
OKLCHoklch(52.04% 0.214 307.1)
XYZxyz(21.9452, 12.0270, 54.5805)
Luminance0.1203 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A35C6 #71C635
analogous
#4135C6 #8A35C6 #C635BA
triadic
#8A35C6 #C68A35 #35C68A
tetradic
#8A35C6 #C64135 #71C635 #35BAC6
square
#8A35C6 #C64135 #71C635 #35BAC6
split-complementary
#8A35C6 #BAC635 #35C641
monochromatic
#471B65 #682896 #8A35C6 #A663D5 #C293E2

Accessibility & contrast

On white

6.17
#8A35C6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#8A35C6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A35C6
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A35C6#FFFFFF#000000##FFFFFF
##8A35C61.006.173.416.17
#FFFFFF6.171.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ECA
Deuteranopia (green-blind)
#0062C3
Tritanopia (blue-blind)
#80587B
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #8a35c6;
/* rgb */ color: rgb(138, 53, 198);
/* oklch */ color: oklch(52.0% 0.214 307.1);
Tailwind
colors: {
  custom: {
    50: '#b174d8',
    500: '#8a35c6',
    950: '#000000',
  },
}
SCSS
$custom: #8a35c6;
$custom-light: #b174d8;
$custom-dark: #000000;
JSON
{
  "hex": "#8a35c6",
  "rgb": {
    "r": 138,
    "g": 53,
    "b": 198
  },
  "hsl": {
    "h": 275.172,
    "s": 57.769,
    "l": 49.216
  },
  "oklch": {
    "l": 0.52041,
    "c": 0.2142,
    "h": 307.1
  },
  "luminance": 0.12027
}

Semantic roles & 50–950 ramp

primary
#8A35C6
secondary
#A6CD8A
accent
#E14787
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110915
muted
#807B83

Preview Lab

Preview with #8A35C6

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

Preview Lab → · Contrast checker → · Palette generator →

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