#7229B0#7229B0

#7229B0 is a mid, vivid violet. Relative luminance 0.083; OKLCH L 46.1% C 0.200 H 303.9°. Best body text is #FFFFFF at 7.90:1 contrast (WCAG AA passes).

Color values

HEX#7229B0
RGBrgb(114, 41, 176)
HSLhsl(272, 62%, 43%)
HSVhsv(272, 77%, 69%)
CMYKcmyk(35.2%, 76.7%, 0%, 31%)
CIE-LABlab(34.60, 55.48, -58.18)
CIE-LCHlch(34.60, 80.39, 313.64°)
OKLaboklab(46.13% 0.1115 -0.1658)
OKLCHoklch(46.13% 0.2 303.9)
XYZxyz(15.5670, 8.2979, 41.8474)
Luminance0.0830 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7229B0 #67B029
analogous
#2E29B0 #7229B0 #B029AB
triadic
#7229B0 #B07229 #29B072
tetradic
#7229B0 #B02E29 #67B029 #29ABB0
square
#7229B0 #B02E29 #67B029 #29ABB0
split-complementary
#7229B0 #ABB029 #29B02E
monochromatic
#32124D #521D7E #7229B0 #9143D3 #AE75DF

Accessibility & contrast

On white

7.90
#7229B0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#7229B0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7229B0#FFFFFF#000000##FFFFFF
##7229B01.007.902.667.90
#FFFFFF7.901.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B4
Deuteranopia (green-blind)
#0051AD
Tritanopia (blue-blind)
#664C6B
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #7229b0;
/* rgb */ color: rgb(114, 41, 176);
/* oklch */ color: oklch(46.1% 0.200 303.9);
Tailwind
colors: {
  custom: {
    50: '#a06bc9',
    500: '#7229b0',
    950: '#000000',
  },
}
SCSS
$custom: #7229b0;
$custom-light: #a06bc9;
$custom-dark: #000000;
JSON
{
  "hex": "#7229b0",
  "rgb": {
    "r": 114,
    "g": 41,
    "b": 176
  },
  "hsl": {
    "h": 272.444,
    "s": 62.212,
    "l": 42.549
  },
  "oklch": {
    "l": 0.46125,
    "c": 0.1998,
    "h": 303.9
  },
  "luminance": 0.08298
}

Semantic roles & 50–950 ramp

primary
#7229B0
secondary
#97C66F
accent
#E5438D
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #7229B0

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

Preview Lab → · Contrast checker → · Palette generator →

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