#7229A9#7229A9

#7229A9 is a mid, vivid violet. Relative luminance 0.080; OKLCH L 45.6% C 0.193 H 305.9°. Best body text is #FFFFFF at 8.06:1 contrast (WCAG AA passes).

Color values

HEX#7229A9
RGBrgb(114, 41, 169)
HSLhsl(274, 61%, 41%)
HSVhsv(274, 76%, 66%)
CMYKcmyk(32.5%, 75.7%, 0%, 33.7%)
CIE-LABlab(34.04, 53.86, -54.90)
CIE-LCHlch(34.04, 76.90, 314.45°)
OKLaboklab(45.56% 0.1131 -0.1562)
OKLCHoklch(45.56% 0.193 305.9)
XYZxyz(14.8922, 8.0280, 38.2934)
Luminance0.0803 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7229A9 #60A929
analogous
#3229A9 #7229A9 #A929A0
triadic
#7229A9 #A97229 #29A972
tetradic
#7229A9 #A93229 #60A929 #29A0A9
square
#7229A9 #A93229 #60A929 #29A0A9
split-complementary
#7229A9 #A0A929 #29A932
monochromatic
#301146 #511D78 #7229A9 #923FD0 #AE70DC

Accessibility & contrast

On white

8.06
#7229A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#7229A9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7229A9
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7229A9#FFFFFF#000000##FFFFFF
##7229A91.008.062.618.06
#FFFFFF8.061.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EAD
Deuteranopia (green-blind)
#0050A6
Tritanopia (blue-blind)
#684967
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #7229a9;
/* rgb */ color: rgb(114, 41, 169);
/* oklch */ color: oklch(45.6% 0.193 305.9);
Tailwind
colors: {
  custom: {
    50: '#a06ac3',
    500: '#7229a9',
    950: '#000000',
  },
}
SCSS
$custom: #7229a9;
$custom-light: #a06ac3;
$custom-dark: #000000;
JSON
{
  "hex": "#7229a9",
  "rgb": {
    "r": 114,
    "g": 41,
    "b": 169
  },
  "hsl": {
    "h": 274.219,
    "s": 60.952,
    "l": 41.176
  },
  "oklch": {
    "l": 0.45561,
    "c": 0.19279,
    "h": 305.9
  },
  "luminance": 0.08028
}

Semantic roles & 50–950 ramp

primary
#7229A9
secondary
#91C36A
accent
#E44489
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #7229A9

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

Preview Lab → · Contrast checker → · Palette generator →

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