#A22BDF#A22BDF

#A22BDF is a mid, highly saturated violet. Relative luminance 0.147; OKLCH L 56.1% C 0.253 H 310.3°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#A22BDF
RGBrgb(162, 43, 223)
HSLhsl(280, 74%, 52%)
HSVhsv(280, 81%, 87%)
CMYKcmyk(27.4%, 80.7%, 0%, 12.5%)
CIE-LABlab(45.27, 72.81, -67.88)
CIE-LCHlch(45.27, 99.55, 317.01°)
OKLaboklab(56.14% 0.1637 -0.1927)
OKLCHoklch(56.14% 0.253 310.3)
XYZxyz(29.0808, 14.7375, 71.1104)
Luminance0.1474 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22BDF #68DF2B
analogous
#482BDF #A22BDF #DF2BC2
triadic
#A22BDF #DFA22B #2BDFA2
tetradic
#A22BDF #DF482B #68DF2B #2BC2DF
square
#A22BDF #DF482B #68DF2B #2BC2DF
split-complementary
#A22BDF #C2DF2B #2BDF48
monochromatic
#59137D #7F1BB2 #A22BDF #B960E7 #D195EF

Accessibility & contrast

On white

5.32
#A22BDF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#A22BDF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A22BDF
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A22BDF#FFFFFF#000000##FFFFFF
##A22BDF1.005.323.955.32
#FFFFFF5.321.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066E4
Deuteranopia (green-blind)
#006DDB
Tritanopia (blue-blind)
#995A87
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #a22bdf;
/* rgb */ color: rgb(162, 43, 223);
/* oklch */ color: oklch(56.1% 0.253 310.3);
Tailwind
colors: {
  custom: {
    50: '#c374ea',
    500: '#a22bdf',
    950: '#000000',
  },
}
SCSS
$custom: #a22bdf;
$custom-light: #c374ea;
$custom-dark: #000000;
JSON
{
  "hex": "#a22bdf",
  "rgb": {
    "r": 162,
    "g": 43,
    "b": 223
  },
  "hsl": {
    "h": 279.667,
    "s": 73.77,
    "l": 52.157
  },
  "oklch": {
    "l": 0.56138,
    "c": 0.25282,
    "h": 310.3
  },
  "luminance": 0.14737
}

Semantic roles & 50–950 ramp

primary
#A22BDF
secondary
#A6DA8C
accent
#F03776
background
#FCF7FE
surface
#F9EEFD
border
#D2C9D5
text
#130916
muted
#827B84

Preview Lab

Preview with #A22BDF

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

Preview Lab → · Contrast checker → · Palette generator →

#A22BDF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva