#822EE3#822EE3

#822EE3 is a mid, highly saturated violet. Relative luminance 0.122; OKLCH L 52.8% C 0.248 H 298.1°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#822EE3
RGBrgb(130, 46, 227)
HSLhsl(268, 76%, 54%)
HSVhsv(268, 80%, 89%)
CMYKcmyk(42.7%, 79.7%, 0%, 11%)
CIE-LABlab(41.60, 67.93, -76.33)
CIE-LCHlch(41.60, 102.18, 311.67°)
OKLaboklab(52.78% 0.1165 -0.2186)
OKLCHoklch(52.78% 0.248 298.1)
XYZxyz(24.0444, 12.2454, 73.7549)
Luminance0.1225 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#822EE3 #8FE32E
analogous
#2E34E3 #822EE3 #DC2EE3
triadic
#822EE3 #E3822E #2EE382
tetradic
#822EE3 #E32E34 #8FE32E #2EE3DC
square
#822EE3 #E32E34 #8FE32E #2EE3DC
split-complementary
#822EE3 #E3DC2E #34E32E
monochromatic
#471285 #6419BB #822EE3 #A264EA #C39AF1

Accessibility & contrast

On white

6.09
#822EE3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#822EE3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #822EE3
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##822EE3#FFFFFF#000000##FFFFFF
##822EE31.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062E8
Deuteranopia (green-blind)
#0060E0
Tritanopia (blue-blind)
#69628A
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #822ee3;
/* rgb */ color: rgb(130, 46, 227);
/* oklch */ color: oklch(52.8% 0.248 298.1);
Tailwind
colors: {
  custom: {
    50: '#af72ed',
    500: '#822ee3',
    950: '#000000',
  },
}
SCSS
$custom: #822ee3;
$custom-light: #af72ed;
$custom-dark: #000000;
JSON
{
  "hex": "#822ee3",
  "rgb": {
    "r": 130,
    "g": 46,
    "b": 227
  },
  "hsl": {
    "h": 267.845,
    "s": 76.371,
    "l": 53.529
  },
  "oklch": {
    "l": 0.52777,
    "c": 0.24772,
    "h": 298.1
  },
  "luminance": 0.12246
}

Semantic roles & 50–950 ramp

primary
#822EE3
secondary
#B9DD90
accent
#F3359B
background
#FBF7FE
surface
#F6EDFD
border
#D0C8D5
text
#120816
muted
#817B84

Preview Lab

Preview with #822EE3

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

Preview Lab → · Contrast checker → · Palette generator →

#822EE3 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva