#822FAF#822FAF

#822FAF is a mid, vivid violet. Relative luminance 0.099; OKLCH L 48.7% C 0.196 H 310.7°. Best body text is #FFFFFF at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#822FAF
RGBrgb(130, 47, 175)
HSLhsl(279, 58%, 44%)
HSVhsv(279, 73%, 69%)
CMYKcmyk(25.7%, 73.1%, 0%, 31.4%)
CIE-LABlab(37.62, 55.81, -52.58)
CIE-LCHlch(37.62, 76.67, 316.71°)
OKLaboklab(48.7% 0.1281 -0.1488)
OKLCHoklch(48.7% 0.196 310.7)
XYZxyz(17.9588, 9.8744, 41.5090)
Luminance0.0987 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#822FAF #5CAF2F
analogous
#422FAF #822FAF #AF2F9C
triadic
#822FAF #AF822F #2FAF82
tetradic
#822FAF #AF422F #5CAF2F #2F9CAF
square
#822FAF #AF422F #5CAF2F #2F9CAF
split-complementary
#822FAF #9CAF2F #2FAF42
monochromatic
#3A154F #5E227F #822FAF #A14CCF #BA7CDC

Accessibility & contrast

On white

7.06
#822FAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#822FAF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #822FAF
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##822FAF#FFFFFF#000000##FFFFFF
##822FAF1.007.062.977.06
#FFFFFF7.061.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B3
Deuteranopia (green-blind)
#175AAC
Tritanopia (blue-blind)
#7C4C6C
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #822faf;
/* rgb */ color: rgb(130, 47, 175);
/* oklch */ color: oklch(48.7% 0.196 310.7);
Tailwind
colors: {
  custom: {
    50: '#ab6fc8',
    500: '#822faf',
    950: '#000000',
  },
}
SCSS
$custom: #822faf;
$custom-light: #ab6fc8;
$custom-dark: #000000;
JSON
{
  "hex": "#822faf",
  "rgb": {
    "r": 130,
    "g": 47,
    "b": 175
  },
  "hsl": {
    "h": 278.906,
    "s": 57.658,
    "l": 43.529
  },
  "oklch": {
    "l": 0.48704,
    "c": 0.19637,
    "h": 310.7
  },
  "luminance": 0.09874
}

Semantic roles & 50–950 ramp

primary
#822FAF
secondary
#91C475
accent
#E1477D
background
#FAF7FC
surface
#F5EDF8
border
#CFC8D1
text
#110813
muted
#807B82

Preview Lab

Preview with #822FAF

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

Preview Lab → · Contrast checker → · Palette generator →

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