#7229C4#7229C4

#7229C4 is a mid, highly saturated violet. Relative luminance 0.091; OKLCH L 47.8% C 0.220 H 298.9°. Best body text is #FFFFFF at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#7229C4
RGBrgb(114, 41, 196)
HSLhsl(268, 65%, 46%)
HSVhsv(268, 79%, 77%)
CMYKcmyk(41.8%, 79.1%, 0%, 23.1%)
CIE-LABlab(36.27, 60.20, -67.26)
CIE-LCHlch(36.27, 90.26, 311.83°)
OKLaboklab(47.81% 0.1061 -0.1925)
OKLCHoklch(47.81% 0.22 298.9)
XYZxyz(17.6936, 9.1485, 53.0475)
Luminance0.0915 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7229C4 #7BC429
analogous
#292EC4 #7229C4 #C029C4
triadic
#7229C4 #C47229 #29C472
tetradic
#7229C4 #C4292E #7BC429 #29C4C0
square
#7229C4 #C4292E #7BC429 #29C4C0
split-complementary
#7229C4 #C4C029 #2EC429
monochromatic
#37145F #551E91 #7229C4 #9150DA #B182E5

Accessibility & contrast

On white

7.42
#7229C4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#7229C4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7229C4#FFFFFF#000000##FFFFFF
##7229C41.007.422.837.42
#FFFFFF7.421.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055C8
Deuteranopia (green-blind)
#0054C1
Tritanopia (blue-blind)
#5E5477
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #7229c4;
/* rgb */ color: rgb(114, 41, 196);
/* oklch */ color: oklch(47.8% 0.220 298.9);
Tailwind
colors: {
  custom: {
    50: '#a26cd7',
    500: '#7229c4',
    950: '#000000',
  },
}
SCSS
$custom: #7229c4;
$custom-light: #a26cd7;
$custom-dark: #000000;
JSON
{
  "hex": "#7229c4",
  "rgb": {
    "r": 114,
    "g": 41,
    "b": 196
  },
  "hsl": {
    "h": 268.258,
    "s": 65.401,
    "l": 46.471
  },
  "oklch": {
    "l": 0.47811,
    "c": 0.21979,
    "h": 298.9
  },
  "luminance": 0.09149
}

Semantic roles & 50–950 ramp

primary
#7229C4
secondary
#A7CE7B
accent
#E83F99
background
#FAF6FD
surface
#F4ECFA
border
#CEC7D3
text
#100715
muted
#7F7A83

Preview Lab

Preview with #7229C4

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

Preview Lab → · Contrast checker → · Palette generator →

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