#7229A5#7229A5

#7229A5 is a mid, vivid violet. Relative luminance 0.079; OKLCH L 45.2% C 0.189 H 307.1°. Best body text is #FFFFFF at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#7229A5
RGBrgb(114, 41, 165)
HSLhsl(275, 60%, 40%)
HSVhsv(275, 75%, 65%)
CMYKcmyk(30.9%, 75.2%, 0%, 35.3%)
CIE-LABlab(33.73, 52.94, -52.99)
CIE-LCHlch(33.73, 74.91, 314.97°)
OKLaboklab(45.25% 0.1139 -0.1506)
OKLCHoklch(45.25% 0.189 307.1)
XYZxyz(14.5224, 7.8801, 36.3460)
Luminance0.0788 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7229A5 #5CA529
analogous
#3429A5 #7229A5 #A5299A
triadic
#7229A5 #A57229 #29A572
tetradic
#7229A5 #A53429 #5CA529 #299AA5
square
#7229A5 #A53429 #5CA529 #299AA5
split-complementary
#7229A5 #9AA529 #29A534
monochromatic
#2E1143 #501D74 #7229A5 #933DCF #AE6EDB

Accessibility & contrast

On white

8.15
#7229A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#7229A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7229A5
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7229A5#FFFFFF#000000##FFFFFF
##7229A51.008.152.588.15
#FFFFFF8.151.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA8
Deuteranopia (green-blind)
#0050A2
Tritanopia (blue-blind)
#694765
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #7229a5;
/* rgb */ color: rgb(114, 41, 165);
/* oklch */ color: oklch(45.2% 0.189 307.1);
Tailwind
colors: {
  custom: {
    50: '#9f6ac1',
    500: '#7229a5',
    950: '#000000',
  },
}
SCSS
$custom: #7229a5;
$custom-light: #9f6ac1;
$custom-dark: #000000;
JSON
{
  "hex": "#7229a5",
  "rgb": {
    "r": 114,
    "g": 41,
    "b": 165
  },
  "hsl": {
    "h": 275.323,
    "s": 60.194,
    "l": 40.392
  },
  "oklch": {
    "l": 0.45246,
    "c": 0.18879,
    "h": 307.1
  },
  "luminance": 0.0788
}

Semantic roles & 50–950 ramp

primary
#7229A5
secondary
#8DC268
accent
#E34486
background
#FAF6FB
surface
#F4EBF7
border
#CEC6D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #7229A5

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

Preview Lab → · Contrast checker → · Palette generator →

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