#8035CA#8035CA

#8035CA is a mid, highly saturated violet. Relative luminance 0.114; OKLCH L 51.1% C 0.216 H 302.1°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#8035CA
RGBrgb(128, 53, 202)
HSLhsl(270, 58%, 50%)
HSVhsv(270, 74%, 79%)
CMYKcmyk(36.6%, 73.8%, 0%, 20.8%)
CIE-LABlab(40.25, 59.03, -64.18)
CIE-LCHlch(40.25, 87.20, 312.61°)
OKLaboklab(51.14% 0.1147 -0.183)
OKLCHoklch(51.14% 0.216 302.1)
XYZxyz(20.8333, 11.3996, 56.9684)
Luminance0.1140 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8035CA #7FCA35
analogous
#3535CA #8035CA #CA35CA
triadic
#8035CA #CA8035 #35CA80
tetradic
#8035CA #CA3535 #7FCA35 #35CACA
square
#8035CA #CA3535 #7FCA35 #35CACA
split-complementary
#8035CA #CACA35 #35CA35
monochromatic
#431C69 #61289A #8035CA #9E65D7 #BD96E3

Accessibility & contrast

On white

6.40
#8035CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#8035CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8035CA
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8035CA#FFFFFF#000000##FFFFFF
##8035CA1.006.403.286.40
#FFFFFF6.401.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ECE
Deuteranopia (green-blind)
#005EC7
Tritanopia (blue-blind)
#705A7D
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #8035ca;
/* rgb */ color: rgb(128, 53, 202);
/* oklch */ color: oklch(51.1% 0.216 302.1);
Tailwind
colors: {
  custom: {
    50: '#ab73db',
    500: '#8035ca',
    950: '#000000',
  },
}
SCSS
$custom: #8035ca;
$custom-light: #ab73db;
$custom-dark: #000000;
JSON
{
  "hex": "#8035ca",
  "rgb": {
    "r": 128,
    "g": 53,
    "b": 202
  },
  "hsl": {
    "h": 270.201,
    "s": 58.431,
    "l": 50
  },
  "oklch": {
    "l": 0.51138,
    "c": 0.21601,
    "h": 302.1
  },
  "luminance": 0.114
}

Semantic roles & 50–950 ramp

primary
#8035CA
secondary
#ADCF8C
accent
#E24693
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#110915
muted
#807B83

Preview Lab

Preview with #8035CA

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

Preview Lab → · Contrast checker → · Palette generator →

#8035CA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva