#7223BB#7223BB

#7223BB is a mid, highly saturated violet. Relative luminance 0.084; OKLCH L 46.5% C 0.216 H 301.6°. Best body text is #FFFFFF at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#7223BB
RGBrgb(114, 35, 187)
HSLhsl(271, 68%, 44%)
HSVhsv(271, 81%, 73%)
CMYKcmyk(39%, 81.3%, 0%, 26.7%)
CIE-LABlab(34.74, 60.28, -64.47)
CIE-LCHlch(34.74, 88.26, 313.07°)
OKLaboklab(46.51% 0.1132 -0.1842)
OKLCHoklch(46.51% 0.216 301.6)
XYZxyz(16.5079, 8.3672, 47.7494)
Luminance0.0837 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7223BB #6CBB23
analogous
#2623BB #7223BB #BB23B8
triadic
#7223BB #BB7223 #23BB72
tetradic
#7223BB #BB2623 #6CBB23 #23B8BB
square
#7223BB #BB2623 #6CBB23 #23B8BB
split-complementary
#7223BB #B8BB23 #23BB26
monochromatic
#331054 #531987 #7223BB #9140DB #AE74E5

Accessibility & contrast

On white

7.86
#7223BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#7223BB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7223BB
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7223BB#FFFFFF#000000##FFFFFF
##7223BB1.007.862.677.86
#FFFFFF7.861.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051BF
Deuteranopia (green-blind)
#0051B8
Tritanopia (blue-blind)
#624E70
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #7223bb;
/* rgb */ color: rgb(114, 35, 187);
/* oklch */ color: oklch(46.5% 0.216 301.6);
Tailwind
colors: {
  custom: {
    50: '#a269d1',
    500: '#7223bb',
    950: '#000000',
  },
}
SCSS
$custom: #7223bb;
$custom-light: #a269d1;
$custom-dark: #000000;
JSON
{
  "hex": "#7223bb",
  "rgb": {
    "r": 114,
    "g": 35,
    "b": 187
  },
  "hsl": {
    "h": 271.184,
    "s": 68.468,
    "l": 43.529
  },
  "oklch": {
    "l": 0.46507,
    "c": 0.21626,
    "h": 301.6
  },
  "luminance": 0.08367
}

Semantic roles & 50–950 ramp

primary
#7223BB
secondary
#9BCC6E
accent
#EB3C90
background
#FAF6FC
surface
#F4EBF9
border
#CEC6D2
text
#100714
muted
#7F7A82

Preview Lab

Preview with #7223BB

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

Preview Lab → · Contrast checker → · Palette generator →

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