#7223AE#7223AE

#7223AE is a mid, highly saturated violet. Relative luminance 0.078; OKLCH L 45.4% C 0.204 H 305.0°. Best body text is #FFFFFF at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#7223AE
RGBrgb(114, 35, 174)
HSLhsl(274, 67%, 41%)
HSVhsv(274, 80%, 68%)
CMYKcmyk(34.5%, 79.9%, 0%, 31.8%)
CIE-LABlab(33.64, 57.31, -58.55)
CIE-LCHlch(33.64, 81.93, 314.39°)
OKLaboklab(45.4% 0.117 -0.1668)
OKLCHoklch(45.4% 0.204 305)
XYZxyz(15.1787, 7.8356, 40.7490)
Luminance0.0784 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7223AE #5FAE23
analogous
#2D23AE #7223AE #AE23A4
triadic
#7223AE #AE7223 #23AE72
tetradic
#7223AE #AE2D23 #5FAE23 #23A4AE
square
#7223AE #AE2D23 #5FAE23 #23A4AE
split-complementary
#7223AE #A4AE23 #23AE2D
monochromatic
#2F0F48 #51197B #7223AE #9237D7 #AE6AE1

Accessibility & contrast

On white

8.18
#7223AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#7223AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7223AE
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7223AE#FFFFFF#000000##FFFFFF
##7223AE1.008.182.578.18
#FFFFFF8.181.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DB2
Deuteranopia (green-blind)
#004FAB
Tritanopia (blue-blind)
#674869
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #7223ae;
/* rgb */ color: rgb(114, 35, 174);
/* oklch */ color: oklch(45.4% 0.204 305.0);
Tailwind
colors: {
  custom: {
    50: '#a068c7',
    500: '#7223ae',
    950: '#000000',
  },
}
SCSS
$custom: #7223ae;
$custom-light: #a068c7;
$custom-dark: #000000;
JSON
{
  "hex": "#7223ae",
  "rgb": {
    "r": 114,
    "g": 35,
    "b": 174
  },
  "hsl": {
    "h": 274.101,
    "s": 66.507,
    "l": 40.98
  },
  "oklch": {
    "l": 0.45404,
    "c": 0.20376,
    "h": 305
  },
  "luminance": 0.07835
}

Semantic roles & 50–950 ramp

primary
#7223AE
secondary
#90C766
accent
#E93E88
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #7223AE

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

Preview Lab → · Contrast checker → · Palette generator →

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