#7225A4#7225A4

#7225A4 is a dark, vivid violet. Relative luminance 0.076; OKLCH L 44.8% C 0.192 H 307.8°. Best body text is #FFFFFF at 8.35:1 contrast (WCAG AA passes).

Color values

HEX#7225A4
RGBrgb(114, 37, 164)
HSLhsl(276, 63%, 39%)
HSVhsv(276, 77%, 64%)
CMYKcmyk(30.5%, 77.4%, 0%, 35.7%)
CIE-LABlab(33.09, 54.32, -53.43)
CIE-LCHlch(33.09, 76.19, 315.47°)
OKLaboklab(44.77% 0.1178 -0.1518)
OKLCHoklch(44.77% 0.192 307.8)
XYZxyz(14.3004, 7.5811, 35.8247)
Luminance0.0758 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7225A4 #57A425
analogous
#3325A4 #7225A4 #A42597
triadic
#7225A4 #A47225 #25A472
tetradic
#7225A4 #A43325 #57A425 #2597A4
square
#7225A4 #A43325 #57A425 #2597A4
split-complementary
#7225A4 #97A425 #25A433
monochromatic
#2D0E40 #4F1A72 #7225A4 #9435D1 #AE67DD

Accessibility & contrast

On white

8.35
#7225A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#7225A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7225A4
8.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7225A4#FFFFFF#000000##FFFFFF
##7225A41.008.352.528.35
#FFFFFF8.351.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BA8
Deuteranopia (green-blind)
#004EA1
Tritanopia (blue-blind)
#6A4564
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #7225a4;
/* rgb */ color: rgb(114, 37, 164);
/* oklch */ color: oklch(44.8% 0.192 307.8);
Tailwind
colors: {
  custom: {
    50: '#a068c0',
    500: '#7225a4',
    950: '#000000',
  },
}
SCSS
$custom: #7225a4;
$custom-light: #a068c0;
$custom-dark: #000000;
JSON
{
  "hex": "#7225a4",
  "rgb": {
    "r": 114,
    "g": 37,
    "b": 164
  },
  "hsl": {
    "h": 276.378,
    "s": 63.184,
    "l": 39.412
  },
  "oklch": {
    "l": 0.44774,
    "c": 0.19213,
    "h": 307.8
  },
  "luminance": 0.07581
}

Semantic roles & 50–950 ramp

primary
#7225A4
secondary
#88C262
accent
#E64282
background
#FAF6FB
surface
#F4EBF7
border
#CEC6D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #7225A4

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

Preview Lab → · Contrast checker → · Palette generator →

#7225A4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva