#822ECF#822ECF

#822ECF is a mid, highly saturated violet. Relative luminance 0.112; OKLCH L 51.1% C 0.228 H 302.4°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#822ECF
RGBrgb(130, 46, 207)
HSLhsl(271, 64%, 50%)
HSVhsv(271, 78%, 81%)
CMYKcmyk(37.2%, 77.8%, 0%, 18.8%)
CIE-LABlab(39.92, 63.33, -67.60)
CIE-LCHlch(39.92, 92.63, 313.13°)
OKLaboklab(51.09% 0.1223 -0.193)
OKLCHoklch(51.09% 0.228 302.4)
XYZxyz(21.4427, 11.2047, 60.0524)
Luminance0.1120 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#822ECF #7BCF2E
analogous
#312ECF #822ECF #CF2ECC
triadic
#822ECF #CF822E #2ECF82
tetradic
#822ECF #CF312E #7BCF2E #2ECCCF
square
#822ECF #CF312E #7BCF2E #2ECCCF
split-complementary
#822ECF #CCCF2E #2ECF31
monochromatic
#43186B #63239D #822ECF #A05FDB #BE91E7

Accessibility & contrast

On white

6.48
#822ECF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#822ECF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #822ECF
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##822ECF#FFFFFF#000000##FFFFFF
##822ECF1.006.483.246.48
#FFFFFF6.481.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DD3
Deuteranopia (green-blind)
#005DCC
Tritanopia (blue-blind)
#71597E
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #822ecf;
/* rgb */ color: rgb(130, 46, 207);
/* oklch */ color: oklch(51.1% 0.228 302.4);
Tailwind
colors: {
  custom: {
    50: '#ad70df',
    500: '#822ecf',
    950: '#000000',
  },
}
SCSS
$custom: #822ecf;
$custom-light: #ad70df;
$custom-dark: #000000;
JSON
{
  "hex": "#822ecf",
  "rgb": {
    "r": 130,
    "g": 46,
    "b": 207
  },
  "hsl": {
    "h": 271.304,
    "s": 63.636,
    "l": 49.608
  },
  "oklch": {
    "l": 0.51092,
    "c": 0.22843,
    "h": 302.4
  },
  "luminance": 0.11205
}

Semantic roles & 50–950 ramp

primary
#822ECF
secondary
#ABD188
accent
#E74190
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#110815
muted
#807B83

Preview Lab

Preview with #822ECF

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

Preview Lab → · Contrast checker → · Palette generator →

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