#7229AE#7229AE

#7229AE is a mid, vivid violet. Relative luminance 0.082; OKLCH L 46.0% C 0.198 H 304.5°. Best body text is #FFFFFF at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#7229AE
RGBrgb(114, 41, 174)
HSLhsl(273, 62%, 42%)
HSVhsv(273, 76%, 68%)
CMYKcmyk(34.5%, 76.4%, 0%, 31.8%)
CIE-LABlab(34.44, 55.01, -57.25)
CIE-LCHlch(34.44, 79.40, 313.86°)
OKLaboklab(45.96% 0.112 -0.1631)
OKLCHoklch(45.96% 0.198 304.5)
XYZxyz(15.3706, 8.2193, 40.8129)
Luminance0.0822 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7229AE #65AE29
analogous
#2F29AE #7229AE #AE29A8
triadic
#7229AE #AE7229 #29AE72
tetradic
#7229AE #AE2F29 #65AE29 #29A8AE
square
#7229AE #AE2F29 #65AE29 #29A8AE
split-complementary
#7229AE #A8AE29 #29AE2F
monochromatic
#31124B #521D7C #7229AE #9142D2 #AE73DE

Accessibility & contrast

On white

7.94
#7229AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#7229AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7229AE
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7229AE#FFFFFF#000000##FFFFFF
##7229AE1.007.942.647.94
#FFFFFF7.941.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB2
Deuteranopia (green-blind)
#0051AB
Tritanopia (blue-blind)
#664B6A
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #7229ae;
/* rgb */ color: rgb(114, 41, 174);
/* oklch */ color: oklch(46.0% 0.198 304.5);
Tailwind
colors: {
  custom: {
    50: '#a06bc7',
    500: '#7229ae',
    950: '#000000',
  },
}
SCSS
$custom: #7229ae;
$custom-light: #a06bc7;
$custom-dark: #000000;
JSON
{
  "hex": "#7229ae",
  "rgb": {
    "r": 114,
    "g": 41,
    "b": 174
  },
  "hsl": {
    "h": 272.932,
    "s": 61.86,
    "l": 42.157
  },
  "oklch": {
    "l": 0.45962,
    "c": 0.19779,
    "h": 304.5
  },
  "luminance": 0.08219
}

Semantic roles & 50–950 ramp

primary
#7229AE
secondary
#95C56D
accent
#E5438C
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #7229AE

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

Preview Lab → · Contrast checker → · Palette generator →

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