#7229AC#7229AC

#7229AC is a mid, vivid violet. Relative luminance 0.081; OKLCH L 45.8% C 0.196 H 305.0°. Best body text is #FFFFFF at 7.99:1 contrast (WCAG AA passes).

Color values

HEX#7229AC
RGBrgb(114, 41, 172)
HSLhsl(273, 62%, 42%)
HSVhsv(273, 76%, 67%)
CMYKcmyk(33.7%, 76.2%, 0%, 32.5%)
CIE-LABlab(34.28, 54.55, -56.31)
CIE-LCHlch(34.28, 78.40, 314.09°)
OKLaboklab(45.8% 0.1124 -0.1603)
OKLCHoklch(45.8% 0.196 305)
XYZxyz(15.1771, 8.1419, 39.7937)
Luminance0.0814 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7229AC #63AC29
analogous
#3129AC #7229AC #AC29A5
triadic
#7229AC #AC7229 #29AC72
tetradic
#7229AC #AC3129 #63AC29 #29A5AC
square
#7229AC #AC3129 #63AC29 #29A5AC
split-complementary
#7229AC #A5AC29 #29AC31
monochromatic
#301149 #511D7B #7229AC #9141D2 #AE72DD

Accessibility & contrast

On white

7.99
#7229AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#7229AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7229AC
7.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7229AC#FFFFFF#000000##FFFFFF
##7229AC1.007.992.637.99
#FFFFFF7.991.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB0
Deuteranopia (green-blind)
#0051A9
Tritanopia (blue-blind)
#674A69
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #7229ac;
/* rgb */ color: rgb(114, 41, 172);
/* oklch */ color: oklch(45.8% 0.196 305.0);
Tailwind
colors: {
  custom: {
    50: '#a06bc6',
    500: '#7229ac',
    950: '#000000',
  },
}
SCSS
$custom: #7229ac;
$custom-light: #a06bc6;
$custom-dark: #000000;
JSON
{
  "hex": "#7229ac",
  "rgb": {
    "r": 114,
    "g": 41,
    "b": 172
  },
  "hsl": {
    "h": 273.435,
    "s": 61.502,
    "l": 41.765
  },
  "oklch": {
    "l": 0.45801,
    "c": 0.19579,
    "h": 305
  },
  "luminance": 0.08142
}

Semantic roles & 50–950 ramp

primary
#7229AC
secondary
#93C56C
accent
#E5438B
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #7229AC

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

Preview Lab → · Contrast checker → · Palette generator →

#7229AC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva