#8A35C9#8A35C9

#8A35C9 is a mid, highly saturated violet. Relative luminance 0.122; OKLCH L 52.3% C 0.217 H 306.3°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#8A35C9
RGBrgb(138, 53, 201)
HSLhsl(274, 58%, 50%)
HSVhsv(274, 74%, 79%)
CMYKcmyk(31.3%, 73.6%, 0%, 21.2%)
CIE-LABlab(41.48, 60.60, -61.54)
CIE-LCHlch(41.48, 86.37, 314.56°)
OKLaboklab(52.27% 0.1286 -0.1749)
OKLCHoklch(52.27% 0.217 306.3)
XYZxyz(22.2946, 12.1667, 56.4209)
Luminance0.1217 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A35C9 #74C935
analogous
#4035C9 #8A35C9 #C935BE
triadic
#8A35C9 #C98A35 #35C98A
tetradic
#8A35C9 #C94035 #74C935 #35BEC9
square
#8A35C9 #C94035 #74C935 #35BEC9
split-complementary
#8A35C9 #BEC935 #35C940
monochromatic
#471B68 #692899 #8A35C9 #A665D6 #C295E3

Accessibility & contrast

On white

6.12
#8A35C9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#8A35C9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A35C9
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A35C9#FFFFFF#000000##FFFFFF
##8A35C91.006.123.436.12
#FFFFFF6.121.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FCD
Deuteranopia (green-blind)
#0062C6
Tritanopia (blue-blind)
#7F597D
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #8a35c9;
/* rgb */ color: rgb(138, 53, 201);
/* oklch */ color: oklch(52.3% 0.217 306.3);
Tailwind
colors: {
  custom: {
    50: '#b274da',
    500: '#8a35c9',
    950: '#000000',
  },
}
SCSS
$custom: #8a35c9;
$custom-light: #b274da;
$custom-dark: #000000;
JSON
{
  "hex": "#8a35c9",
  "rgb": {
    "r": 138,
    "g": 53,
    "b": 201
  },
  "hsl": {
    "h": 274.459,
    "s": 58.268,
    "l": 49.804
  },
  "oklch": {
    "l": 0.52267,
    "c": 0.21713,
    "h": 306.3
  },
  "luminance": 0.12167
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8A35C9

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

Preview Lab → · Contrast checker → · Palette generator →

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