#7226A3#7226A3

#7226A3 is a dark, vivid violet. Relative luminance 0.076; OKLCH L 44.8% C 0.190 H 308.0°. Best body text is #FFFFFF at 8.33:1 contrast (WCAG AA passes).

Color values

HEX#7226A3
RGBrgb(114, 38, 163)
HSLhsl(276, 62%, 39%)
HSVhsv(276, 77%, 64%)
CMYKcmyk(30.1%, 76.7%, 0%, 36.1%)
CIE-LABlab(33.15, 53.70, -52.73)
CIE-LCHlch(33.15, 75.26, 315.53°)
OKLaboklab(44.79% 0.1171 -0.1498)
OKLCHoklch(44.79% 0.19 308)
XYZxyz(14.2420, 7.6082, 35.3615)
Luminance0.0761 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7226A3 #57A326
analogous
#3426A3 #7226A3 #A32696
triadic
#7226A3 #A37226 #26A372
tetradic
#7226A3 #A33426 #57A326 #2696A3
square
#7226A3 #A33426 #57A326 #2696A3
split-complementary
#7226A3 #96A326 #26A334
monochromatic
#2D0F40 #4F1A71 #7226A3 #9436D0 #AE68DC

Accessibility & contrast

On white

8.33
#7226A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#7226A3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7226A3
8.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7226A3#FFFFFF#000000##FFFFFF
##7226A31.008.332.528.33
#FFFFFF8.331.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BA6
Deuteranopia (green-blind)
#004FA0
Tritanopia (blue-blind)
#6A4563
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #7226a3;
/* rgb */ color: rgb(114, 38, 163);
/* oklch */ color: oklch(44.8% 0.190 308.0);
Tailwind
colors: {
  custom: {
    50: '#9f69bf',
    500: '#7226a3',
    950: '#000000',
  },
}
SCSS
$custom: #7226a3;
$custom-light: #9f69bf;
$custom-dark: #000000;
JSON
{
  "hex": "#7226a3",
  "rgb": {
    "r": 114,
    "g": 38,
    "b": 163
  },
  "hsl": {
    "h": 276.48,
    "s": 62.189,
    "l": 39.412
  },
  "oklch": {
    "l": 0.4479,
    "c": 0.19009,
    "h": 308
  },
  "luminance": 0.07608
}

Semantic roles & 50–950 ramp

primary
#7226A3
secondary
#88C263
accent
#E54382
background
#FAF6FB
surface
#F4EBF7
border
#CEC6D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #7226A3

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

Preview Lab → · Contrast checker → · Palette generator →

#7226A3 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva