#7229A3#7229A3

#7229A3 is a mid, vivid violet. Relative luminance 0.078; OKLCH L 45.1% C 0.187 H 307.7°. Best body text is #FFFFFF at 8.20:1 contrast (WCAG AA passes).

Color values

HEX#7229A3
RGBrgb(114, 41, 163)
HSLhsl(276, 60%, 40%)
HSVhsv(276, 75%, 64%)
CMYKcmyk(30.1%, 74.8%, 0%, 36.1%)
CIE-LABlab(33.58, 52.49, -52.04)
CIE-LCHlch(33.58, 73.91, 315.25°)
OKLaboklab(45.09% 0.1143 -0.1477)
OKLCHoklch(45.09% 0.187 307.7)
XYZxyz(14.3418, 7.8078, 35.3948)
Luminance0.0781 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7229A3 #5AA329
analogous
#3529A3 #7229A3 #A32997
triadic
#7229A3 #A37229 #29A372
tetradic
#7229A3 #A33529 #5AA329 #2997A3
square
#7229A3 #A33529 #5AA329 #2997A3
split-complementary
#7229A3 #97A329 #29A335
monochromatic
#2E1041 #501D72 #7229A3 #933BCE #AE6CDA

Accessibility & contrast

On white

8.20
#7229A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#7229A3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7229A3
8.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7229A3#FFFFFF#000000##FFFFFF
##7229A31.008.202.568.20
#FFFFFF8.201.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA6
Deuteranopia (green-blind)
#0050A0
Tritanopia (blue-blind)
#6A4664
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #7229a3;
/* rgb */ color: rgb(114, 41, 163);
/* oklch */ color: oklch(45.1% 0.187 307.7);
Tailwind
colors: {
  custom: {
    50: '#9f6abf',
    500: '#7229a3',
    950: '#000000',
  },
}
SCSS
$custom: #7229a3;
$custom-light: #9f6abf;
$custom-dark: #000000;
JSON
{
  "hex": "#7229a3",
  "rgb": {
    "r": 114,
    "g": 41,
    "b": 163
  },
  "hsl": {
    "h": 275.902,
    "s": 59.804,
    "l": 40
  },
  "oklch": {
    "l": 0.45091,
    "c": 0.18678,
    "h": 307.7
  },
  "luminance": 0.07808
}

Semantic roles & 50–950 ramp

primary
#7229A3
secondary
#8BC167
accent
#E34584
background
#FAF6FB
surface
#F4EBF7
border
#CEC6D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #7229A3

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

Preview Lab → · Contrast checker → · Palette generator →

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