#822FB2#822FB2

#822FB2 is a mid, vivid violet. Relative luminance 0.100; OKLCH L 48.9% C 0.199 H 309.8°. Best body text is #FFFFFF at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#822FB2
RGBrgb(130, 47, 178)
HSLhsl(278, 58%, 44%)
HSVhsv(278, 74%, 70%)
CMYKcmyk(27%, 73.6%, 0%, 30.2%)
CIE-LABlab(37.83, 56.46, -54.01)
CIE-LCHlch(37.83, 78.13, 316.27°)
OKLaboklab(48.92% 0.1276 -0.153)
OKLCHoklch(48.92% 0.199 309.8)
XYZxyz(18.2567, 9.9936, 43.0781)
Luminance0.0999 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#822FB2 #5FB22F
analogous
#412FB2 #822FB2 #B22FA1
triadic
#822FB2 #B2822F #2FB282
tetradic
#822FB2 #B2412F #5FB22F #2FA1B2
square
#822FB2 #B2412F #5FB22F #2FA1B2
split-complementary
#822FB2 #A1B22F #2FB241
monochromatic
#3B1551 #5F2282 #822FB2 #A14ED0 #BA7EDD

Accessibility & contrast

On white

7.00
#822FB2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#822FB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #822FB2
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##822FB2#FFFFFF#000000##FFFFFF
##822FB21.007.003.007.00
#FFFFFF7.001.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B6
Deuteranopia (green-blind)
#0F5AAF
Tritanopia (blue-blind)
#7B4D6E
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #822fb2;
/* rgb */ color: rgb(130, 47, 178);
/* oklch */ color: oklch(48.9% 0.199 309.8);
Tailwind
colors: {
  custom: {
    50: '#ab70ca',
    500: '#822fb2',
    950: '#000000',
  },
}
SCSS
$custom: #822fb2;
$custom-light: #ab70ca;
$custom-dark: #000000;
JSON
{
  "hex": "#822fb2",
  "rgb": {
    "r": 130,
    "g": 47,
    "b": 178
  },
  "hsl": {
    "h": 278.015,
    "s": 58.222,
    "l": 44.118
  },
  "oklch": {
    "l": 0.48924,
    "c": 0.19928,
    "h": 309.8
  },
  "luminance": 0.09993
}

Semantic roles & 50–950 ramp

primary
#822FB2
secondary
#94C677
accent
#E1467F
background
#FAF7FC
surface
#F5EDF8
border
#CFC8D1
text
#110813
muted
#807B82

Preview Lab

Preview with #822FB2

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

Preview Lab → · Contrast checker → · Palette generator →

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