#8A35CC#8A35CC

#8A35CC is a mid, highly saturated violet. Relative luminance 0.123; OKLCH L 52.5% C 0.220 H 305.6°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#8A35CC
RGBrgb(138, 53, 204)
HSLhsl(274, 60%, 50%)
HSVhsv(274, 74%, 80%)
CMYKcmyk(32.4%, 74%, 0%, 20%)
CIE-LABlab(41.70, 61.27, -62.91)
CIE-LCHlch(41.70, 87.82, 314.24°)
OKLaboklab(52.5% 0.1281 -0.179)
OKLCHoklch(52.5% 0.22 305.6)
XYZxyz(22.6510, 12.3093, 58.2977)
Luminance0.1231 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A35CC #77CC35
analogous
#3E35CC #8A35CC #CC35C2
triadic
#8A35CC #CC8A35 #35CC8A
tetradic
#8A35CC #CC3E35 #77CC35 #35C2CC
square
#8A35CC #CC3E35 #77CC35 #35C2CC
split-complementary
#8A35CC #C2CC35 #35CC3E
monochromatic
#481B6B #69279C #8A35CC #A666D8 #C397E5

Accessibility & contrast

On white

6.07
#8A35CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#8A35CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A35CC
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A35CC#FFFFFF#000000##FFFFFF
##8A35CC1.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060D0
Deuteranopia (green-blind)
#0063C9
Tritanopia (blue-blind)
#7E5A7E
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #8a35cc;
/* rgb */ color: rgb(138, 53, 204);
/* oklch */ color: oklch(52.5% 0.220 305.6);
Tailwind
colors: {
  custom: {
    50: '#b275dc',
    500: '#8a35cc',
    950: '#000000',
  },
}
SCSS
$custom: #8a35cc;
$custom-light: #b275dc;
$custom-dark: #000000;
JSON
{
  "hex": "#8a35cc",
  "rgb": {
    "r": 138,
    "g": 53,
    "b": 204
  },
  "hsl": {
    "h": 273.775,
    "s": 59.684,
    "l": 50.392
  },
  "oklch": {
    "l": 0.52495,
    "c": 0.22007,
    "h": 305.6
  },
  "luminance": 0.12309
}

Semantic roles & 50–950 ramp

primary
#8A35CC
secondary
#AAD08D
accent
#E3458A
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#110915
muted
#807B83

Preview Lab

Preview with #8A35CC

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

Preview Lab → · Contrast checker → · Palette generator →

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