#8030B2#8030B2

#8030B2 is a mid, vivid violet. Relative luminance 0.099; OKLCH L 48.8% C 0.198 H 308.9°. Best body text is #FFFFFF at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#8030B2
RGBrgb(128, 48, 178)
HSLhsl(277, 58%, 44%)
HSVhsv(277, 73%, 70%)
CMYKcmyk(28.1%, 73%, 0%, 30.2%)
CIE-LABlab(37.69, 55.65, -54.25)
CIE-LCHlch(37.69, 77.72, 315.73°)
OKLaboklab(48.77% 0.124 -0.1538)
OKLCHoklch(48.77% 0.198 308.9)
XYZxyz(17.9933, 9.9178, 43.0773)
Luminance0.0992 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8030B2 #62B230
analogous
#3F30B2 #8030B2 #B230A3
triadic
#8030B2 #B28030 #30B280
tetradic
#8030B2 #B23F30 #62B230 #30A3B2
square
#8030B2 #B23F30 #62B230 #30A3B2
split-complementary
#8030B2 #A3B230 #30B23F
monochromatic
#3B1652 #5D2382 #8030B2 #9E50D0 #B980DD

Accessibility & contrast

On white

7.04
#8030B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#8030B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8030B2
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8030B2#FFFFFF#000000##FFFFFF
##8030B21.007.042.987.04
#FFFFFF7.041.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B6
Deuteranopia (green-blind)
#0B5AAF
Tritanopia (blue-blind)
#784E6E
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #8030b2;
/* rgb */ color: rgb(128, 48, 178);
/* oklch */ color: oklch(48.8% 0.198 308.9);
Tailwind
colors: {
  custom: {
    50: '#a970ca',
    500: '#8030b2',
    950: '#000000',
  },
}
SCSS
$custom: #8030b2;
$custom-light: #a970ca;
$custom-dark: #000000;
JSON
{
  "hex": "#8030b2",
  "rgb": {
    "r": 128,
    "g": 48,
    "b": 178
  },
  "hsl": {
    "h": 276.923,
    "s": 57.522,
    "l": 44.314
  },
  "oklch": {
    "l": 0.48768,
    "c": 0.19754,
    "h": 308.9
  },
  "luminance": 0.09917
}

Semantic roles & 50–950 ramp

primary
#8030B2
secondary
#96C678
accent
#E14782
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100813
muted
#7F7B82

Preview Lab

Preview with #8030B2

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

Preview Lab → · Contrast checker → · Palette generator →

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