#802FBD#802FBD

#802FBD is a mid, highly saturated violet. Relative luminance 0.103; OKLCH L 49.5% C 0.209 H 305.9°. Best body text is #FFFFFF at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#802FBD
RGBrgb(128, 47, 189)
HSLhsl(274, 60%, 46%)
HSVhsv(274, 75%, 74%)
CMYKcmyk(32.3%, 75.1%, 0%, 25.9%)
CIE-LABlab(38.37, 58.52, -59.64)
CIE-LCHlch(38.37, 83.56, 314.46°)
OKLaboklab(49.5% 0.1229 -0.1697)
OKLCHoklch(49.5% 0.209 305.9)
XYZxyz(19.1019, 10.2965, 49.1154)
Luminance0.1030 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802FBD #6CBD2F
analogous
#392FBD #802FBD #BD2FB3
triadic
#802FBD #BD802F #2FBD80
tetradic
#802FBD #BD392F #6CBD2F #2FB3BD
square
#802FBD #BD392F #6CBD2F #2FB3BD
split-complementary
#802FBD #B3BD2F #2FBD39
monochromatic
#3E175B #5F238C #802FBD #9E55D5 #BA86E1

Accessibility & contrast

On white

6.86
#802FBD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#802FBD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #802FBD
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802FBD#FFFFFF#000000##FFFFFF
##802FBD1.006.863.066.86
#FFFFFF6.861.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.861.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #802fbd;
/* rgb */ color: rgb(128, 47, 189);
/* oklch */ color: oklch(49.5% 0.209 305.9);
Tailwind
colors: {
  custom: {
    50: '#aa70d2',
    500: '#802fbd',
    950: '#000000',
  },
}
SCSS
$custom: #802fbd;
$custom-light: #aa70d2;
$custom-dark: #000000;
JSON
{
  "hex": "#802fbd",
  "rgb": {
    "r": 128,
    "g": 47,
    "b": 189
  },
  "hsl": {
    "h": 274.225,
    "s": 60.169,
    "l": 46.275
  },
  "oklch": {
    "l": 0.49503,
    "c": 0.20948,
    "h": 305.9
  },
  "luminance": 0.10296
}

Semantic roles & 50–950 ramp

primary
#802FBD
secondary
#9ECA7E
accent
#E34489
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110814
muted
#807B83

Preview Lab

Preview with #802FBD

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

Preview Lab → · Contrast checker → · Palette generator →

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