#802FBC#802FBC

#802FBC is a mid, highly saturated violet. Relative luminance 0.103; OKLCH L 49.4% C 0.208 H 306.2°. Best body text is #FFFFFF at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#802FBC
RGBrgb(128, 47, 188)
HSLhsl(274, 60%, 46%)
HSVhsv(274, 75%, 74%)
CMYKcmyk(31.9%, 75%, 0%, 26.3%)
CIE-LABlab(38.29, 58.30, -59.18)
CIE-LCHlch(38.29, 83.07, 314.57°)
OKLaboklab(49.43% 0.1231 -0.1683)
OKLCHoklch(49.43% 0.209 306.2)
XYZxyz(18.9937, 10.2532, 48.5457)
Luminance0.1025 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802FBC #6BBC2F
analogous
#392FBC #802FBC #BC2FB1
triadic
#802FBC #BC802F #2FBC80
tetradic
#802FBC #BC392F #6BBC2F #2FB1BC
square
#802FBC #BC392F #6BBC2F #2FB1BC
split-complementary
#802FBC #B1BC2F #2FBC39
monochromatic
#3D175A #5F238B #802FBC #9E54D4 #BA85E0

Accessibility & contrast

On white

6.88
#802FBC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#802FBC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #802FBC
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802FBC#FFFFFF#000000##FFFFFF
##802FBC1.006.883.056.88
#FFFFFF6.881.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058C0
Deuteranopia (green-blind)
#005AB9
Tritanopia (blue-blind)
#755274
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #802fbc;
/* rgb */ color: rgb(128, 47, 188);
/* oklch */ color: oklch(49.4% 0.208 306.2);
Tailwind
colors: {
  custom: {
    50: '#aa70d1',
    500: '#802fbc',
    950: '#000000',
  },
}
SCSS
$custom: #802fbc;
$custom-light: #aa70d1;
$custom-dark: #000000;
JSON
{
  "hex": "#802fbc",
  "rgb": {
    "r": 128,
    "g": 47,
    "b": 188
  },
  "hsl": {
    "h": 274.468,
    "s": 60,
    "l": 46.078
  },
  "oklch": {
    "l": 0.49425,
    "c": 0.2085,
    "h": 306.2
  },
  "luminance": 0.10253
}

Semantic roles & 50–950 ramp

primary
#802FBC
secondary
#9ECA7D
accent
#E34588
background
#FAF7FD
surface
#F5EDFA
border
#CFC8D3
text
#110814
muted
#807B83

Preview Lab

Preview with #802FBC

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

Preview Lab → · Contrast checker → · Palette generator →

#802FBC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva