#8035CC#8035CC

#8035CC is a mid, highly saturated violet. Relative luminance 0.115; OKLCH L 51.3% C 0.218 H 301.6°. Best body text is #FFFFFF at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#8035CC
RGBrgb(128, 53, 204)
HSLhsl(270, 60%, 50%)
HSVhsv(270, 74%, 80%)
CMYKcmyk(37.3%, 74%, 0%, 20%)
CIE-LABlab(40.40, 59.50, -65.09)
CIE-LCHlch(40.40, 88.19, 312.43°)
OKLaboklab(51.3% 0.1143 -0.1857)
OKLCHoklch(51.3% 0.218 301.6)
XYZxyz(21.0716, 11.4949, 58.2236)
Luminance0.1149 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8035CC #81CC35
analogous
#3535CC #8035CC #CB35CC
triadic
#8035CC #CC8035 #35CC80
tetradic
#8035CC #CC3535 #81CC35 #35CCCB
square
#8035CC #CC3535 #81CC35 #35CCCB
split-complementary
#8035CC #CCCB35 #35CC35
monochromatic
#431B6B #62279C #8035CC #9F66D8 #BD97E5

Accessibility & contrast

On white

6.37
#8035CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#8035CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8035CC
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8035CC#FFFFFF#000000##FFFFFF
##8035CC1.006.373.306.37
#FFFFFF6.371.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ED0
Deuteranopia (green-blind)
#005EC9
Tritanopia (blue-blind)
#6F5B7E
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #8035cc;
/* rgb */ color: rgb(128, 53, 204);
/* oklch */ color: oklch(51.3% 0.218 301.6);
Tailwind
colors: {
  custom: {
    50: '#ab74dd',
    500: '#8035cc',
    950: '#000000',
  },
}
SCSS
$custom: #8035cc;
$custom-light: #ab74dd;
$custom-dark: #000000;
JSON
{
  "hex": "#8035cc",
  "rgb": {
    "r": 128,
    "g": 53,
    "b": 204
  },
  "hsl": {
    "h": 269.801,
    "s": 59.684,
    "l": 50.392
  },
  "oklch": {
    "l": 0.51297,
    "c": 0.21804,
    "h": 301.6
  },
  "luminance": 0.11495
}

Semantic roles & 50–950 ramp

primary
#8035CC
secondary
#AFD08D
accent
#E34594
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#110915
muted
#807B83

Preview Lab

Preview with #8035CC

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

Preview Lab → · Contrast checker → · Palette generator →

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