#822FBD#822FBD

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

Color values

HEX#822FBD
RGBrgb(130, 47, 189)
HSLhsl(275, 60%, 46%)
HSVhsv(275, 75%, 74%)
CMYKcmyk(31.2%, 75.1%, 0%, 25.9%)
CIE-LABlab(38.64, 58.89, -59.19)
CIE-LCHlch(38.64, 83.49, 314.85°)
OKLaboklab(49.75% 0.1256 -0.1682)
OKLCHoklch(49.75% 0.21 306.7)
XYZxyz(19.4058, 10.4532, 49.1296)
Luminance0.1045 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#822FBD #6ABD2F
analogous
#3B2FBD #822FBD #BD2FB1
triadic
#822FBD #BD822F #2FBD82
tetradic
#822FBD #BD3B2F #6ABD2F #2FB1BD
square
#822FBD #BD3B2F #6ABD2F #2FB1BD
split-complementary
#822FBD #B1BD2F #2FBD3B
monochromatic
#3F175B #60238C #822FBD #9F55D5 #BB86E1

Accessibility & contrast

On white

6.79
#822FBD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#822FBD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #822FBD
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##822FBD#FFFFFF#000000##FFFFFF
##822FBD1.006.793.096.79
#FFFFFF6.791.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058C1
Deuteranopia (green-blind)
#005BBA
Tritanopia (blue-blind)
#785274
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #822fbd;
/* rgb */ color: rgb(130, 47, 189);
/* oklch */ color: oklch(49.8% 0.210 306.7);
Tailwind
colors: {
  custom: {
    50: '#ac70d2',
    500: '#822fbd',
    950: '#000000',
  },
}
SCSS
$custom: #822fbd;
$custom-light: #ac70d2;
$custom-dark: #000000;
JSON
{
  "hex": "#822fbd",
  "rgb": {
    "r": 130,
    "g": 47,
    "b": 189
  },
  "hsl": {
    "h": 275.07,
    "s": 60.169,
    "l": 46.275
  },
  "oklch": {
    "l": 0.49754,
    "c": 0.20997,
    "h": 306.7
  },
  "luminance": 0.10453
}

Semantic roles & 50–950 ramp

primary
#822FBD
secondary
#9DCA7E
accent
#E34486
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110814
muted
#807B83

Preview Lab

Preview with #822FBD

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

Preview Lab → · Contrast checker → · Palette generator →

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