#722BA2#722BA2

#722BA2 is a mid, vivid violet. Relative luminance 0.079; OKLCH L 45.2% C 0.183 H 307.8°. Best body text is #FFFFFF at 8.13:1 contrast (WCAG AA passes).

Color values

HEX#722BA2
RGBrgb(114, 43, 162)
HSLhsl(276, 58%, 40%)
HSVhsv(276, 73%, 64%)
CMYKcmyk(29.6%, 73.5%, 0%, 36.5%)
CIE-LABlab(33.80, 51.41, -51.07)
CIE-LCHlch(33.80, 72.46, 315.19°)
OKLaboklab(45.23% 0.1125 -0.1449)
OKLCHoklch(45.23% 0.183 307.8)
XYZxyz(14.3235, 7.9140, 34.9484)
Luminance0.0791 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#722BA2 #5BA22B
analogous
#362BA2 #722BA2 #A22B97
triadic
#722BA2 #A2722B #2BA272
tetradic
#722BA2 #A2362B #5BA22B #2B97A2
square
#722BA2 #A2362B #5BA22B #2B97A2
split-complementary
#722BA2 #97A22B #2BA236
monochromatic
#2E1141 #501E72 #722BA2 #933ECC #AE6FD9

Accessibility & contrast

On white

8.13
#722BA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#722BA2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #722BA2
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##722BA2#FFFFFF#000000##FFFFFF
##722BA21.008.132.588.13
#FFFFFF8.131.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA5
Deuteranopia (green-blind)
#01509F
Tritanopia (blue-blind)
#6A4764
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #722ba2;
/* rgb */ color: rgb(114, 43, 162);
/* oklch */ color: oklch(45.2% 0.183 307.8);
Tailwind
colors: {
  custom: {
    50: '#9f6bbe',
    500: '#722ba2',
    950: '#000000',
  },
}
SCSS
$custom: #722ba2;
$custom-light: #9f6bbe;
$custom-dark: #000000;
JSON
{
  "hex": "#722ba2",
  "rgb": {
    "r": 114,
    "g": 43,
    "b": 162
  },
  "hsl": {
    "h": 275.798,
    "s": 58.049,
    "l": 40.196
  },
  "oklch": {
    "l": 0.45226,
    "c": 0.18345,
    "h": 307.8
  },
  "luminance": 0.07914
}

Semantic roles & 50–950 ramp

primary
#722BA2
secondary
#8CC069
accent
#E14785
background
#FAF6FB
surface
#F4ECF7
border
#CEC7D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #722BA2

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

Preview Lab → · Contrast checker → · Palette generator →

#722BA2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva