#7223AF#7223AF

#7223AF is a mid, highly saturated violet. Relative luminance 0.079; OKLCH L 45.5% C 0.205 H 304.8°. Best body text is #FFFFFF at 8.16:1 contrast (WCAG AA passes).

Color values

HEX#7223AF
RGBrgb(114, 35, 175)
HSLhsl(274, 67%, 41%)
HSVhsv(274, 80%, 69%)
CMYKcmyk(34.9%, 80%, 0%, 31.4%)
CIE-LABlab(33.72, 57.54, -59.01)
CIE-LCHlch(33.72, 82.42, 314.28°)
OKLaboklab(45.49% 0.1167 -0.1682)
OKLCHoklch(45.49% 0.205 304.8)
XYZxyz(15.2766, 7.8747, 41.2643)
Luminance0.0788 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7223AF #60AF23
analogous
#2C23AF #7223AF #AF23A6
triadic
#7223AF #AF7223 #23AF72
tetradic
#7223AF #AF2C23 #60AF23 #23A6AF
square
#7223AF #AF2C23 #60AF23 #23A6AF
split-complementary
#7223AF #A6AF23 #23AF2C
monochromatic
#300F49 #51197C #7223AF #9238D7 #AE6BE1

Accessibility & contrast

On white

8.16
#7223AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#7223AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7223AF
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7223AF#FFFFFF#000000##FFFFFF
##7223AF1.008.162.588.16
#FFFFFF8.161.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DB3
Deuteranopia (green-blind)
#004FAC
Tritanopia (blue-blind)
#66496A
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #7223af;
/* rgb */ color: rgb(114, 35, 175);
/* oklch */ color: oklch(45.5% 0.205 304.8);
Tailwind
colors: {
  custom: {
    50: '#a168c8',
    500: '#7223af',
    950: '#000000',
  },
}
SCSS
$custom: #7223af;
$custom-light: #a168c8;
$custom-dark: #000000;
JSON
{
  "hex": "#7223af",
  "rgb": {
    "r": 114,
    "g": 35,
    "b": 175
  },
  "hsl": {
    "h": 273.857,
    "s": 66.667,
    "l": 41.176
  },
  "oklch": {
    "l": 0.45487,
    "c": 0.20473,
    "h": 304.8
  },
  "luminance": 0.07875
}

Semantic roles & 50–950 ramp

primary
#7223AF
secondary
#91C766
accent
#EA3E89
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7223AF

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

Preview Lab → · Contrast checker → · Palette generator →

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