#7229B6#7229B6

#7229B6 is a mid, highly saturated violet. Relative luminance 0.085; OKLCH L 46.6% C 0.206 H 302.3°. Best body text is #FFFFFF at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#7229B6
RGBrgb(114, 41, 182)
HSLhsl(271, 63%, 44%)
HSVhsv(271, 77%, 71%)
CMYKcmyk(37.4%, 77.5%, 0%, 28.6%)
CIE-LABlab(35.08, 56.88, -60.95)
CIE-LCHlch(35.08, 83.37, 313.02°)
OKLaboklab(46.62% 0.11 -0.1739)
OKLCHoklch(46.62% 0.206 302.3)
XYZxyz(16.1738, 8.5406, 45.0433)
Luminance0.0854 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7229B6 #6DB629
analogous
#2B29B6 #7229B6 #B629B3
triadic
#7229B6 #B67229 #29B672
tetradic
#7229B6 #B62B29 #6DB629 #29B3B6
square
#7229B6 #B62B29 #6DB629 #29B3B6
split-complementary
#7229B6 #B3B629 #29B62B
monochromatic
#331252 #531E84 #7229B6 #9147D5 #AF79E1

Accessibility & contrast

On white

7.75
#7229B6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#7229B6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7229B6#FFFFFF#000000##FFFFFF
##7229B61.007.752.717.75
#FFFFFF7.751.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051BA
Deuteranopia (green-blind)
#0052B3
Tritanopia (blue-blind)
#634E6F
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #7229b6;
/* rgb */ color: rgb(114, 41, 182);
/* oklch */ color: oklch(46.6% 0.206 302.3);
Tailwind
colors: {
  custom: {
    50: '#a16bcd',
    500: '#7229b6',
    950: '#000000',
  },
}
SCSS
$custom: #7229b6;
$custom-light: #a16bcd;
$custom-dark: #000000;
JSON
{
  "hex": "#7229b6",
  "rgb": {
    "r": 114,
    "g": 41,
    "b": 182
  },
  "hsl": {
    "h": 271.064,
    "s": 63.229,
    "l": 43.725
  },
  "oklch": {
    "l": 0.46619,
    "c": 0.2058,
    "h": 302.3
  },
  "luminance": 0.08541
}

Semantic roles & 50–950 ramp

primary
#7229B6
secondary
#9CC972
accent
#E64291
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100714
muted
#7F7A82

Preview Lab

Preview with #7229B6

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

Preview Lab → · Contrast checker → · Palette generator →

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