#8A35CF#8A35CF

#8A35CF is a mid, highly saturated violet. Relative luminance 0.125; OKLCH L 52.7% C 0.223 H 304.9°. Best body text is #FFFFFF at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#8A35CF
RGBrgb(138, 53, 207)
HSLhsl(273, 62%, 51%)
HSVhsv(273, 74%, 81%)
CMYKcmyk(33.3%, 74.4%, 0%, 18.8%)
CIE-LABlab(41.93, 61.95, -64.28)
CIE-LCHlch(41.93, 89.27, 313.94°)
OKLaboklab(52.73% 0.1275 -0.183)
OKLCHoklch(52.73% 0.223 304.9)
XYZxyz(23.0143, 12.4546, 60.2109)
Luminance0.1245 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A35CF #7ACF35
analogous
#3D35CF #8A35CF #CF35C7
triadic
#8A35CF #CF8A35 #35CF8A
tetradic
#8A35CF #CF3D35 #7ACF35 #35C7CF
square
#8A35CF #CF3D35 #7ACF35 #35C7CF
split-complementary
#8A35CF #C7CF35 #35CF3D
monochromatic
#491A6F #6A26A1 #8A35CF #A766DB #C398E7

Accessibility & contrast

On white

6.02
#8A35CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#8A35CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A35CF
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A35CF#FFFFFF#000000##FFFFFF
##8A35CF1.006.023.496.02
#FFFFFF6.021.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061D3
Deuteranopia (green-blind)
#0063CC
Tritanopia (blue-blind)
#7D5B80
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #8a35cf;
/* rgb */ color: rgb(138, 53, 207);
/* oklch */ color: oklch(52.7% 0.223 304.9);
Tailwind
colors: {
  custom: {
    50: '#b275df',
    500: '#8a35cf',
    950: '#000000',
  },
}
SCSS
$custom: #8a35cf;
$custom-light: #b275df;
$custom-dark: #000000;
JSON
{
  "hex": "#8a35cf",
  "rgb": {
    "r": 138,
    "g": 53,
    "b": 207
  },
  "hsl": {
    "h": 273.117,
    "s": 61.6,
    "l": 50.98
  },
  "oklch": {
    "l": 0.52725,
    "c": 0.22301,
    "h": 304.9
  },
  "luminance": 0.12454
}

Semantic roles & 50–950 ramp

primary
#8A35CF
secondary
#ACD28E
accent
#E5438C
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#120915
muted
#817B83

Preview Lab

Preview with #8A35CF

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

Preview Lab → · Contrast checker → · Palette generator →

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