#8030C4#8030C4

#8030C4 is a mid, highly saturated violet. Relative luminance 0.107; OKLCH L 50.2% C 0.215 H 304.0°. Best body text is #FFFFFF at 6.69:1 contrast (WCAG AA passes).

Color values

HEX#8030C4
RGBrgb(128, 48, 196)
HSLhsl(272, 61%, 48%)
HSVhsv(272, 76%, 77%)
CMYKcmyk(34.7%, 75.5%, 0%, 23.1%)
CIE-LABlab(39.05, 59.71, -62.64)
CIE-LCHlch(39.05, 86.54, 313.63°)
OKLaboklab(50.15% 0.1205 -0.1785)
OKLCHoklch(50.15% 0.215 304)
XYZxyz(19.9205, 10.6887, 53.2275)
Luminance0.1069 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8030C4 #74C430
analogous
#3630C4 #8030C4 #C430BE
triadic
#8030C4 #C48030 #30C480
tetradic
#8030C4 #C43630 #74C430 #30BEC4
square
#8030C4 #C43630 #74C430 #30BEC4
split-complementary
#8030C4 #BEC430 #30C436
monochromatic
#401862 #602493 #8030C4 #9E5AD7 #BB8CE3

Accessibility & contrast

On white

6.69
#8030C4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#8030C4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8030C4
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8030C4#FFFFFF#000000##FFFFFF
##8030C41.006.693.146.69
#FFFFFF6.691.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AC8
Deuteranopia (green-blind)
#005CC1
Tritanopia (blue-blind)
#735678
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #8030c4;
/* rgb */ color: rgb(128, 48, 196);
/* oklch */ color: oklch(50.2% 0.215 304.0);
Tailwind
colors: {
  custom: {
    50: '#ab71d7',
    500: '#8030c4',
    950: '#000000',
  },
}
SCSS
$custom: #8030c4;
$custom-light: #ab71d7;
$custom-dark: #000000;
JSON
{
  "hex": "#8030c4",
  "rgb": {
    "r": 128,
    "g": 48,
    "b": 196
  },
  "hsl": {
    "h": 272.432,
    "s": 60.656,
    "l": 47.843
  },
  "oklch": {
    "l": 0.50151,
    "c": 0.21531,
    "h": 304
  },
  "luminance": 0.10689
}

Semantic roles & 50–950 ramp

primary
#8030C4
secondary
#A5CD83
accent
#E4448D
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110814
muted
#807B83

Preview Lab

Preview with #8030C4

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

Preview Lab → · Contrast checker → · Palette generator →

#8030C4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva