#7228A9#7228A9

#7228A9 is a mid, vivid violet. Relative luminance 0.080; OKLCH L 45.5% C 0.194 H 306.0°. Best body text is #FFFFFF at 8.10:1 contrast (WCAG AA passes).

Color values

HEX#7228A9
RGBrgb(114, 40, 169)
HSLhsl(274, 62%, 41%)
HSVhsv(274, 76%, 66%)
CMYKcmyk(32.5%, 76.3%, 0%, 33.7%)
CIE-LABlab(33.90, 54.27, -55.13)
CIE-LCHlch(33.90, 77.35, 314.55°)
OKLaboklab(45.46% 0.114 -0.1568)
OKLCHoklch(45.46% 0.194 306)
XYZxyz(14.8581, 7.9597, 38.2821)
Luminance0.0796 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7228A9 #5FA928
analogous
#3228A9 #7228A9 #A9289F
triadic
#7228A9 #A97228 #28A972
tetradic
#7228A9 #A93228 #5FA928 #289FA9
square
#7228A9 #A93228 #5FA928 #289FA9
split-complementary
#7228A9 #9FA928 #28A932
monochromatic
#2F1146 #511C78 #7228A9 #923DD1 #AE6FDD

Accessibility & contrast

On white

8.10
#7228A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#7228A9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7228A9
8.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7228A9#FFFFFF#000000##FFFFFF
##7228A91.008.102.598.10
#FFFFFF8.101.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EAD
Deuteranopia (green-blind)
#0050A6
Tritanopia (blue-blind)
#684867
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #7228a9;
/* rgb */ color: rgb(114, 40, 169);
/* oklch */ color: oklch(45.5% 0.194 306.0);
Tailwind
colors: {
  custom: {
    50: '#a06ac3',
    500: '#7228a9',
    950: '#000000',
  },
}
SCSS
$custom: #7228a9;
$custom-light: #a06ac3;
$custom-dark: #000000;
JSON
{
  "hex": "#7228a9",
  "rgb": {
    "r": 114,
    "g": 40,
    "b": 169
  },
  "hsl": {
    "h": 274.419,
    "s": 61.722,
    "l": 40.98
  },
  "oklch": {
    "l": 0.45461,
    "c": 0.19387,
    "h": 306
  },
  "luminance": 0.0796
}

Semantic roles & 50–950 ramp

primary
#7228A9
secondary
#90C469
accent
#E54388
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #7228A9

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

Preview Lab → · Contrast checker → · Palette generator →

#7228A9 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva