#802EBD#802EBD

#802EBD is a mid, highly saturated violet. Relative luminance 0.102; OKLCH L 49.4% C 0.211 H 306.0°. Best body text is #FFFFFF at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#802EBD
RGBrgb(128, 46, 189)
HSLhsl(274, 61%, 46%)
HSVhsv(274, 76%, 74%)
CMYKcmyk(32.3%, 75.7%, 0%, 25.9%)
CIE-LABlab(38.23, 58.92, -59.87)
CIE-LCHlch(38.23, 84.00, 314.54°)
OKLaboklab(49.4% 0.1238 -0.1703)
OKLCHoklch(49.4% 0.211 306)
XYZxyz(19.0624, 10.2175, 49.1022)
Luminance0.1022 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802EBD #6BBD2E
analogous
#392EBD #802EBD #BD2EB2
triadic
#802EBD #BD802E #2EBD80
tetradic
#802EBD #BD392E #6BBD2E #2EB2BD
square
#802EBD #BD392E #6BBD2E #2EB2BD
split-complementary
#802EBD #B2BD2E #2EBD39
monochromatic
#3D165B #5F228C #802EBD #9E53D5 #BA84E1

Accessibility & contrast

On white

6.90
#802EBD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#802EBD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #802EBD
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802EBD#FFFFFF#000000##FFFFFF
##802EBD1.006.903.046.90
#FFFFFF6.901.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.901.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #802ebd;
/* rgb */ color: rgb(128, 46, 189);
/* oklch */ color: oklch(49.4% 0.211 306.0);
Tailwind
colors: {
  custom: {
    50: '#aa6fd2',
    500: '#802ebd',
    950: '#000000',
  },
}
SCSS
$custom: #802ebd;
$custom-light: #aa6fd2;
$custom-dark: #000000;
JSON
{
  "hex": "#802ebd",
  "rgb": {
    "r": 128,
    "g": 46,
    "b": 189
  },
  "hsl": {
    "h": 274.406,
    "s": 60.851,
    "l": 46.078
  },
  "oklch": {
    "l": 0.49404,
    "c": 0.21054,
    "h": 306
  },
  "luminance": 0.10217
}

Semantic roles & 50–950 ramp

primary
#802EBD
secondary
#9ECA7C
accent
#E44488
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110814
muted
#807B83

Preview Lab

Preview with #802EBD

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

Preview Lab → · Contrast checker → · Palette generator →

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