#8A35C8#8A35C8

#8A35C8 is a mid, highly saturated violet. Relative luminance 0.121; OKLCH L 52.2% C 0.216 H 306.6°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#8A35C8
RGBrgb(138, 53, 200)
HSLhsl(275, 58%, 50%)
HSVhsv(275, 74%, 78%)
CMYKcmyk(31%, 73.5%, 0%, 21.6%)
CIE-LABlab(41.41, 60.38, -61.08)
CIE-LCHlch(41.41, 85.88, 314.67°)
OKLaboklab(52.19% 0.1288 -0.1736)
OKLCHoklch(52.19% 0.216 306.6)
XYZxyz(22.1774, 12.1198, 55.8034)
Luminance0.1212 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A35C8 #73C835
analogous
#4135C8 #8A35C8 #C835BD
triadic
#8A35C8 #C88A35 #35C88A
tetradic
#8A35C8 #C84135 #73C835 #35BDC8
square
#8A35C8 #C84135 #73C835 #35BDC8
split-complementary
#8A35C8 #BDC835 #35C841
monochromatic
#471B67 #692898 #8A35C8 #A664D6 #C295E3

Accessibility & contrast

On white

6.13
#8A35C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#8A35C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A35C8
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A35C8#FFFFFF#000000##FFFFFF
##8A35C81.006.133.426.13
#FFFFFF6.131.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FCC
Deuteranopia (green-blind)
#0062C5
Tritanopia (blue-blind)
#7F587C
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #8a35c8;
/* rgb */ color: rgb(138, 53, 200);
/* oklch */ color: oklch(52.2% 0.216 306.6);
Tailwind
colors: {
  custom: {
    50: '#b174da',
    500: '#8a35c8',
    950: '#000000',
  },
}
SCSS
$custom: #8a35c8;
$custom-light: #b174da;
$custom-dark: #000000;
JSON
{
  "hex": "#8a35c8",
  "rgb": {
    "r": 138,
    "g": 53,
    "b": 200
  },
  "hsl": {
    "h": 274.694,
    "s": 58.103,
    "l": 49.608
  },
  "oklch": {
    "l": 0.52191,
    "c": 0.21616,
    "h": 306.6
  },
  "luminance": 0.1212
}

Semantic roles & 50–950 ramp

primary
#8A35C8
secondary
#A7CE8B
accent
#E14688
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#110915
muted
#807B83

Preview Lab

Preview with #8A35C8

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

Preview Lab → · Contrast checker → · Palette generator →

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