#7229AD#7229AD

#7229AD is a mid, vivid violet. Relative luminance 0.082; OKLCH L 45.9% C 0.197 H 304.8°. Best body text is #FFFFFF at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#7229AD
RGBrgb(114, 41, 173)
HSLhsl(273, 62%, 42%)
HSVhsv(273, 76%, 68%)
CMYKcmyk(34.1%, 76.3%, 0%, 32.2%)
CIE-LABlab(34.36, 54.78, -56.78)
CIE-LCHlch(34.36, 78.90, 313.98°)
OKLaboklab(45.88% 0.1122 -0.1617)
OKLCHoklch(45.88% 0.197 304.8)
XYZxyz(15.2735, 8.1805, 40.3014)
Luminance0.0818 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7229AD #64AD29
analogous
#3029AD #7229AD #AD29A6
triadic
#7229AD #AD7229 #29AD72
tetradic
#7229AD #AD3029 #64AD29 #29A6AD
square
#7229AD #AD3029 #64AD29 #29A6AD
split-complementary
#7229AD #A6AD29 #29AD30
monochromatic
#31124A #511D7C #7229AD #9141D2 #AE73DE

Accessibility & contrast

On white

7.97
#7229AD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7229AD
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7229AD#FFFFFF#000000##FFFFFF
##7229AD1.007.972.647.97
#FFFFFF7.971.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB1
Deuteranopia (green-blind)
#0051AA
Tritanopia (blue-blind)
#674A6A
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #7229ad;
/* rgb */ color: rgb(114, 41, 173);
/* oklch */ color: oklch(45.9% 0.197 304.8);
Tailwind
colors: {
  custom: {
    50: '#a06bc6',
    500: '#7229ad',
    950: '#000000',
  },
}
SCSS
$custom: #7229ad;
$custom-light: #a06bc6;
$custom-dark: #000000;
JSON
{
  "hex": "#7229ad",
  "rgb": {
    "r": 114,
    "g": 41,
    "b": 173
  },
  "hsl": {
    "h": 273.182,
    "s": 61.682,
    "l": 41.961
  },
  "oklch": {
    "l": 0.45881,
    "c": 0.19679,
    "h": 304.8
  },
  "luminance": 0.0818
}

Semantic roles & 50–950 ramp

primary
#7229AD
secondary
#94C56D
accent
#E5438B
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #7229AD

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

Preview Lab → · Contrast checker → · Palette generator →

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