#8035CB#8035CB

#8035CB is a mid, highly saturated violet. Relative luminance 0.114; OKLCH L 51.2% C 0.217 H 301.8°. Best body text is #FFFFFF at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#8035CB
RGBrgb(128, 53, 203)
HSLhsl(270, 59%, 50%)
HSVhsv(270, 74%, 80%)
CMYKcmyk(36.9%, 73.9%, 0%, 20.4%)
CIE-LABlab(40.32, 59.27, -64.64)
CIE-LCHlch(40.32, 87.70, 312.52°)
OKLaboklab(51.22% 0.1145 -0.1844)
OKLCHoklch(51.22% 0.217 301.8)
XYZxyz(20.9521, 11.4471, 57.5940)
Luminance0.1145 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8035CB #80CB35
analogous
#3535CB #8035CB #CB35CB
triadic
#8035CB #CB8035 #35CB80
tetradic
#8035CB #CB3535 #80CB35 #35CBCB
square
#8035CB #CB3535 #80CB35 #35CBCB
split-complementary
#8035CB #CBCB35 #35CB35
monochromatic
#431B6A #61289B #8035CB #9F66D8 #BD96E4

Accessibility & contrast

On white

6.38
#8035CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#8035CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8035CB
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8035CB#FFFFFF#000000##FFFFFF
##8035CB1.006.383.296.38
#FFFFFF6.381.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ECF
Deuteranopia (green-blind)
#005EC8
Tritanopia (blue-blind)
#705B7E
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #8035cb;
/* rgb */ color: rgb(128, 53, 203);
/* oklch */ color: oklch(51.2% 0.217 301.8);
Tailwind
colors: {
  custom: {
    50: '#ab73dc',
    500: '#8035cb',
    950: '#000000',
  },
}
SCSS
$custom: #8035cb;
$custom-light: #ab73dc;
$custom-dark: #000000;
JSON
{
  "hex": "#8035cb",
  "rgb": {
    "r": 128,
    "g": 53,
    "b": 203
  },
  "hsl": {
    "h": 270,
    "s": 59.055,
    "l": 50.196
  },
  "oklch": {
    "l": 0.51218,
    "c": 0.21703,
    "h": 301.8
  },
  "luminance": 0.11447
}

Semantic roles & 50–950 ramp

primary
#8035CB
secondary
#AECF8C
accent
#E24694
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#110915
muted
#807B83

Preview Lab

Preview with #8035CB

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

Preview Lab → · Contrast checker → · Palette generator →

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