#7229B2#7229B2

#7229B2 is a mid, highly saturated violet. Relative luminance 0.084; OKLCH L 46.3% C 0.202 H 303.4°. Best body text is #FFFFFF at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#7229B2
RGBrgb(114, 41, 178)
HSLhsl(272, 63%, 43%)
HSVhsv(272, 77%, 70%)
CMYKcmyk(36%, 77%, 0%, 30.2%)
CIE-LABlab(34.76, 55.95, -59.11)
CIE-LCHlch(34.76, 81.38, 313.43°)
OKLaboklab(46.29% 0.111 -0.1685)
OKLCHoklch(46.29% 0.202 303.4)
XYZxyz(15.7664, 8.3776, 42.8973)
Luminance0.0838 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7229B2 #69B229
analogous
#2E29B2 #7229B2 #B229AD
triadic
#7229B2 #B27229 #29B272
tetradic
#7229B2 #B22E29 #69B229 #29ADB2
square
#7229B2 #B22E29 #69B229 #29ADB2
split-complementary
#7229B2 #ADB229 #29B22E
monochromatic
#32124F #521E80 #7229B2 #9144D4 #AE76DF

Accessibility & contrast

On white

7.85
#7229B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#7229B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7229B2#FFFFFF#000000##FFFFFF
##7229B21.007.852.687.85
#FFFFFF7.851.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B6
Deuteranopia (green-blind)
#0051AF
Tritanopia (blue-blind)
#654C6C
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #7229b2;
/* rgb */ color: rgb(114, 41, 178);
/* oklch */ color: oklch(46.3% 0.202 303.4);
Tailwind
colors: {
  custom: {
    50: '#a06bca',
    500: '#7229b2',
    950: '#000000',
  },
}
SCSS
$custom: #7229b2;
$custom-light: #a06bca;
$custom-dark: #000000;
JSON
{
  "hex": "#7229b2",
  "rgb": {
    "r": 114,
    "g": 41,
    "b": 178
  },
  "hsl": {
    "h": 271.971,
    "s": 62.557,
    "l": 42.941
  },
  "oklch": {
    "l": 0.46288,
    "c": 0.2018,
    "h": 303.4
  },
  "luminance": 0.08378
}

Semantic roles & 50–950 ramp

primary
#7229B2
secondary
#99C770
accent
#E6428F
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #7229B2

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

Preview Lab → · Contrast checker → · Palette generator →

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