#7223BC#7223BC

#7223BC is a mid, highly saturated violet. Relative luminance 0.084; OKLCH L 46.6% C 0.217 H 301.3°. Best body text is #FFFFFF at 7.83:1 contrast (WCAG AA passes).

Color values

HEX#7223BC
RGBrgb(114, 35, 188)
HSLhsl(271, 69%, 44%)
HSVhsv(271, 81%, 74%)
CMYKcmyk(39.4%, 81.4%, 0%, 26.3%)
CIE-LABlab(34.82, 60.51, -64.92)
CIE-LCHlch(34.82, 88.75, 312.98°)
OKLaboklab(46.59% 0.1129 -0.1856)
OKLCHoklch(46.59% 0.217 301.3)
XYZxyz(16.6153, 8.4102, 48.3152)
Luminance0.0841 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7223BC #6DBC23
analogous
#2523BC #7223BC #BC23B9
triadic
#7223BC #BC7223 #23BC72
tetradic
#7223BC #BC2523 #6DBC23 #23B9BC
square
#7223BC #BC2523 #6DBC23 #23B9BC
split-complementary
#7223BC #B9BC23 #23BC25
monochromatic
#331055 #531988 #7223BC #9141DC #AF74E5

Accessibility & contrast

On white

7.83
#7223BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#7223BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7223BC
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7223BC#FFFFFF#000000##FFFFFF
##7223BC1.007.832.687.83
#FFFFFF7.831.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051C0
Deuteranopia (green-blind)
#0051B9
Tritanopia (blue-blind)
#614E71
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #7223bc;
/* rgb */ color: rgb(114, 35, 188);
/* oklch */ color: oklch(46.6% 0.217 301.3);
Tailwind
colors: {
  custom: {
    50: '#a269d1',
    500: '#7223bc',
    950: '#000000',
  },
}
SCSS
$custom: #7223bc;
$custom-light: #a269d1;
$custom-dark: #000000;
JSON
{
  "hex": "#7223bc",
  "rgb": {
    "r": 114,
    "g": 35,
    "b": 188
  },
  "hsl": {
    "h": 270.98,
    "s": 68.61,
    "l": 43.725
  },
  "oklch": {
    "l": 0.46593,
    "c": 0.21722,
    "h": 301.3
  },
  "luminance": 0.0841
}

Semantic roles & 50–950 ramp

primary
#7223BC
secondary
#9CCC6F
accent
#EB3C91
background
#FAF6FD
surface
#F4EBFA
border
#CEC6D3
text
#100714
muted
#7F7A83

Preview Lab

Preview with #7223BC

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

Preview Lab → · Contrast checker → · Palette generator →

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