#7223BD#7223BD

#7223BD is a mid, highly saturated violet. Relative luminance 0.085; OKLCH L 46.7% C 0.218 H 301.1°. Best body text is #FFFFFF at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#7223BD
RGBrgb(114, 35, 189)
HSLhsl(271, 69%, 44%)
HSVhsv(271, 81%, 74%)
CMYKcmyk(39.7%, 81.5%, 0%, 25.9%)
CIE-LABlab(34.91, 60.74, -65.37)
CIE-LCHlch(34.91, 89.23, 312.90°)
OKLaboklab(46.68% 0.1126 -0.1869)
OKLCHoklch(46.68% 0.218 301.1)
XYZxyz(16.7235, 8.4535, 48.8849)
Luminance0.0845 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7223BD #6EBD23
analogous
#2523BD #7223BD #BD23BB
triadic
#7223BD #BD7223 #23BD72
tetradic
#7223BD #BD2523 #6EBD23 #23BBBD
square
#7223BD #BD2523 #6EBD23 #23BBBD
split-complementary
#7223BD #BBBD23 #23BD25
monochromatic
#341056 #531989 #7223BD #9141DC #AF75E5

Accessibility & contrast

On white

7.80
#7223BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#7223BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7223BD
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7223BD#FFFFFF#000000##FFFFFF
##7223BD1.007.802.697.80
#FFFFFF7.801.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051C1
Deuteranopia (green-blind)
#0051BA
Tritanopia (blue-blind)
#614F72
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #7223bd;
/* rgb */ color: rgb(114, 35, 189);
/* oklch */ color: oklch(46.7% 0.218 301.1);
Tailwind
colors: {
  custom: {
    50: '#a269d2',
    500: '#7223bd',
    950: '#000000',
  },
}
SCSS
$custom: #7223bd;
$custom-light: #a269d2;
$custom-dark: #000000;
JSON
{
  "hex": "#7223bd",
  "rgb": {
    "r": 114,
    "g": 35,
    "b": 189
  },
  "hsl": {
    "h": 270.779,
    "s": 68.75,
    "l": 43.922
  },
  "oklch": {
    "l": 0.46681,
    "c": 0.21819,
    "h": 301.1
  },
  "luminance": 0.08454
}

Semantic roles & 50–950 ramp

primary
#7223BD
secondary
#9DCD6F
accent
#EC3C92
background
#FAF6FD
surface
#F4EBFA
border
#CEC6D3
text
#100714
muted
#7F7A83

Preview Lab

Preview with #7223BD

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

Preview Lab → · Contrast checker → · Palette generator →

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