#7229AA#7229AA

#7229AA is a mid, vivid violet. Relative luminance 0.081; OKLCH L 45.6% C 0.194 H 305.6°. Best body text is #FFFFFF at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#7229AA
RGBrgb(114, 41, 170)
HSLhsl(274, 61%, 41%)
HSVhsv(274, 76%, 67%)
CMYKcmyk(32.9%, 75.9%, 0%, 33.3%)
CIE-LABlab(34.12, 54.09, -55.37)
CIE-LCHlch(34.12, 77.40, 314.33°)
OKLaboklab(45.64% 0.1129 -0.1575)
OKLCHoklch(45.64% 0.194 305.6)
XYZxyz(14.9865, 8.0657, 38.7897)
Luminance0.0807 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7229AA #61AA29
analogous
#3129AA #7229AA #AA29A2
triadic
#7229AA #AA7229 #29AA72
tetradic
#7229AA #AA3129 #61AA29 #29A2AA
square
#7229AA #AA3129 #61AA29 #29A2AA
split-complementary
#7229AA #A2AA29 #29AA31
monochromatic
#301147 #511D79 #7229AA #923FD1 #AE71DD

Accessibility & contrast

On white

8.04
#7229AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

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

Contrast matrix

fg \ bg##7229AA#FFFFFF#000000##FFFFFF
##7229AA1.008.042.618.04
#FFFFFF8.041.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EAE
Deuteranopia (green-blind)
#0050A7
Tritanopia (blue-blind)
#684968
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #7229aa;
/* rgb */ color: rgb(114, 41, 170);
/* oklch */ color: oklch(45.6% 0.194 305.6);
Tailwind
colors: {
  custom: {
    50: '#a06bc4',
    500: '#7229aa',
    950: '#000000',
  },
}
SCSS
$custom: #7229aa;
$custom-light: #a06bc4;
$custom-dark: #000000;
JSON
{
  "hex": "#7229aa",
  "rgb": {
    "r": 114,
    "g": 41,
    "b": 170
  },
  "hsl": {
    "h": 273.953,
    "s": 61.137,
    "l": 41.373
  },
  "oklch": {
    "l": 0.45641,
    "c": 0.19379,
    "h": 305.6
  },
  "luminance": 0.08066
}

Semantic roles & 50–950 ramp

primary
#7229AA
secondary
#92C46B
accent
#E44489
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #7229AA

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

Preview Lab → · Contrast checker → · Palette generator →

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