#822FBE#822FBE

#822FBE is a mid, highly saturated violet. Relative luminance 0.105; OKLCH L 49.8% C 0.211 H 306.5°. Best body text is #FFFFFF at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#822FBE
RGBrgb(130, 47, 190)
HSLhsl(275, 60%, 46%)
HSVhsv(275, 75%, 75%)
CMYKcmyk(31.6%, 75.3%, 0%, 25.5%)
CIE-LABlab(38.72, 59.11, -59.65)
CIE-LCHlch(38.72, 83.98, 314.74°)
OKLaboklab(49.83% 0.1254 -0.1696)
OKLCHoklch(49.83% 0.211 306.5)
XYZxyz(19.5147, 10.4968, 49.7032)
Luminance0.1050 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#822FBE #6BBE2F
analogous
#3A2FBE #822FBE #BE2FB3
triadic
#822FBE #BE822F #2FBE82
tetradic
#822FBE #BE3A2F #6BBE2F #2FB3BE
square
#822FBE #BE3A2F #6BBE2F #2FB3BE
split-complementary
#822FBE #B3BE2F #2FBE3A
monochromatic
#3F175C #60238D #822FBE #9F55D5 #BB86E1

Accessibility & contrast

On white

6.78
#822FBE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#822FBE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #822FBE
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##822FBE#FFFFFF#000000##FFFFFF
##822FBE1.006.783.106.78
#FFFFFF6.781.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059C2
Deuteranopia (green-blind)
#005CBB
Tritanopia (blue-blind)
#775275
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #822fbe;
/* rgb */ color: rgb(130, 47, 190);
/* oklch */ color: oklch(49.8% 0.211 306.5);
Tailwind
colors: {
  custom: {
    50: '#ac70d2',
    500: '#822fbe',
    950: '#000000',
  },
}
SCSS
$custom: #822fbe;
$custom-light: #ac70d2;
$custom-dark: #000000;
JSON
{
  "hex": "#822fbe",
  "rgb": {
    "r": 130,
    "g": 47,
    "b": 190
  },
  "hsl": {
    "h": 274.825,
    "s": 60.338,
    "l": 46.471
  },
  "oklch": {
    "l": 0.49831,
    "c": 0.21094,
    "h": 306.5
  },
  "luminance": 0.10497
}

Semantic roles & 50–950 ramp

primary
#822FBE
secondary
#9ECB7E
accent
#E34487
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110814
muted
#807B83

Preview Lab

Preview with #822FBE

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

Preview Lab → · Contrast checker → · Palette generator →

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