#7223A2#7223A2

#7223A2 is a dark, vivid violet. Relative luminance 0.074; OKLCH L 44.4% C 0.192 H 308.6°. Best body text is #FFFFFF at 8.48:1 contrast (WCAG AA passes).

Color values

HEX#7223A2
RGBrgb(114, 35, 162)
HSLhsl(277, 64%, 39%)
HSVhsv(277, 78%, 64%)
CMYKcmyk(29.6%, 78.4%, 0%, 36.5%)
CIE-LABlab(32.67, 54.63, -52.90)
CIE-LCHlch(32.67, 76.05, 315.92°)
OKLaboklab(44.43% 0.12 -0.1502)
OKLCHoklch(44.43% 0.192 308.6)
XYZxyz(14.0607, 7.3883, 34.8608)
Luminance0.0739 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7223A2 #53A223
analogous
#3223A2 #7223A2 #A22392
triadic
#7223A2 #A27223 #23A272
tetradic
#7223A2 #A23223 #53A223 #2392A2
square
#7223A2 #A23223 #53A223 #2392A2
split-complementary
#7223A2 #92A223 #23A232
monochromatic
#2B0D3D #4F1870 #7223A2 #9530D2 #AF62DD

Accessibility & contrast

On white

8.48
#7223A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#7223A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7223A2
8.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7223A2#FFFFFF#000000##FFFFFF
##7223A21.008.482.488.48
#FFFFFF8.481.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AA5
Deuteranopia (green-blind)
#004E9F
Tritanopia (blue-blind)
#6A4362
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #7223a2;
/* rgb */ color: rgb(114, 35, 162);
/* oklch */ color: oklch(44.4% 0.192 308.6);
Tailwind
colors: {
  custom: {
    50: '#9f67be',
    500: '#7223a2',
    950: '#000000',
  },
}
SCSS
$custom: #7223a2;
$custom-light: #9f67be;
$custom-dark: #000000;
JSON
{
  "hex": "#7223a2",
  "rgb": {
    "r": 114,
    "g": 35,
    "b": 162
  },
  "hsl": {
    "h": 277.323,
    "s": 64.467,
    "l": 38.627
  },
  "oklch": {
    "l": 0.4443,
    "c": 0.19226,
    "h": 308.6
  },
  "luminance": 0.07388
}

Semantic roles & 50–950 ramp

primary
#7223A2
secondary
#84C25E
accent
#E74080
background
#FAF6FB
surface
#F4EBF7
border
#CEC6D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #7223A2

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

Preview Lab → · Contrast checker → · Palette generator →

#7223A2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva