#7225A6#7225A6

#7225A6 is a dark, vivid violet. Relative luminance 0.077; OKLCH L 44.9% C 0.194 H 307.2°. Best body text is #FFFFFF at 8.30:1 contrast (WCAG AA passes).

Color values

HEX#7225A6
RGBrgb(114, 37, 166)
HSLhsl(276, 64%, 40%)
HSVhsv(276, 78%, 65%)
CMYKcmyk(31.3%, 77.7%, 0%, 34.9%)
CIE-LABlab(33.25, 54.77, -54.38)
CIE-LCHlch(33.25, 77.18, 315.21°)
OKLaboklab(44.93% 0.1173 -0.1546)
OKLCHoklch(44.93% 0.194 307.2)
XYZxyz(14.4825, 7.6539, 36.7834)
Luminance0.0765 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7225A6 #59A625
analogous
#3225A6 #7225A6 #A6259A
triadic
#7225A6 #A67225 #25A672
tetradic
#7225A6 #A63225 #59A625 #259AA6
square
#7225A6 #A63225 #59A625 #259AA6
split-complementary
#7225A6 #9AA625 #25A632
monochromatic
#2D0F42 #501A74 #7225A6 #9336D2 #AE68DD

Accessibility & contrast

On white

8.30
#7225A6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#7225A6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7225A6
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7225A6#FFFFFF#000000##FFFFFF
##7225A61.008.302.538.30
#FFFFFF8.301.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CAA
Deuteranopia (green-blind)
#004FA3
Tritanopia (blue-blind)
#694565
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #7225a6;
/* rgb */ color: rgb(114, 37, 166);
/* oklch */ color: oklch(44.9% 0.194 307.2);
Tailwind
colors: {
  custom: {
    50: '#a068c1',
    500: '#7225a6',
    950: '#000000',
  },
}
SCSS
$custom: #7225a6;
$custom-light: #a068c1;
$custom-dark: #000000;
JSON
{
  "hex": "#7225a6",
  "rgb": {
    "r": 114,
    "g": 37,
    "b": 166
  },
  "hsl": {
    "h": 275.814,
    "s": 63.547,
    "l": 39.804
  },
  "oklch": {
    "l": 0.44933,
    "c": 0.19407,
    "h": 307.2
  },
  "luminance": 0.07654
}

Semantic roles & 50–950 ramp

primary
#7225A6
secondary
#8AC364
accent
#E74184
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #7225A6

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

Preview Lab → · Contrast checker → · Palette generator →

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