#822FE2#822FE2

#822FE2 is a mid, highly saturated violet. Relative luminance 0.123; OKLCH L 52.8% C 0.246 H 298.2°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#822FE2
RGBrgb(130, 47, 226)
HSLhsl(268, 76%, 54%)
HSVhsv(268, 79%, 89%)
CMYKcmyk(42.5%, 79.2%, 0%, 11.4%)
CIE-LABlab(41.64, 67.34, -75.70)
CIE-LCHlch(41.64, 101.32, 311.66°)
OKLaboklab(52.78% 0.1162 -0.2167)
OKLCHoklch(52.78% 0.246 298.2)
XYZxyz(23.9463, 12.2694, 73.0434)
Luminance0.1227 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#822FE2 #8FE22F
analogous
#2F35E2 #822FE2 #DB2FE2
triadic
#822FE2 #E2822F #2FE282
tetradic
#822FE2 #E22F35 #8FE22F #2FE2DB
square
#822FE2 #E22F35 #8FE22F #2FE2DB
split-complementary
#822FE2 #E2DB2F #35E22F
monochromatic
#471284 #641ABA #822FE2 #A265E9 #C39AF1

Accessibility & contrast

On white

6.08
#822FE2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #822FE2
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##822FE2#FFFFFF#000000##FFFFFF
##822FE21.006.083.456.08
#FFFFFF6.081.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062E7
Deuteranopia (green-blind)
#0060DF
Tritanopia (blue-blind)
#696289
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #822fe2;
/* rgb */ color: rgb(130, 47, 226);
/* oklch */ color: oklch(52.8% 0.246 298.2);
Tailwind
colors: {
  custom: {
    50: '#af72ec',
    500: '#822fe2',
    950: '#000000',
  },
}
SCSS
$custom: #822fe2;
$custom-light: #af72ec;
$custom-dark: #000000;
JSON
{
  "hex": "#822fe2",
  "rgb": {
    "r": 130,
    "g": 47,
    "b": 226
  },
  "hsl": {
    "h": 267.821,
    "s": 75.527,
    "l": 53.529
  },
  "oklch": {
    "l": 0.52777,
    "c": 0.2459,
    "h": 298.2
  },
  "luminance": 0.1227
}

Semantic roles & 50–950 ramp

primary
#822FE2
secondary
#B9DD90
accent
#F2369B
background
#FBF7FE
surface
#F6EDFD
border
#D0C8D5
text
#120916
muted
#817B84

Preview Lab

Preview with #822FE2

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

Preview Lab → · Contrast checker → · Palette generator →

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