#7225A8#7225A8

#7225A8 is a mid, vivid violet. Relative luminance 0.077; OKLCH L 45.1% C 0.196 H 306.6°. Best body text is #FFFFFF at 8.25:1 contrast (WCAG AA passes).

Color values

HEX#7225A8
RGBrgb(114, 37, 168)
HSLhsl(275, 64%, 40%)
HSVhsv(275, 78%, 66%)
CMYKcmyk(32.1%, 78%, 0%, 34.1%)
CIE-LABlab(33.41, 55.22, -55.32)
CIE-LCHlch(33.41, 78.16, 314.95°)
OKLaboklab(45.09% 0.1169 -0.1574)
OKLCHoklch(45.09% 0.196 306.6)
XYZxyz(14.6673, 7.7279, 37.7571)
Luminance0.0773 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7225A8 #5BA825
analogous
#3025A8 #7225A8 #A8259C
triadic
#7225A8 #A87225 #25A872
tetradic
#7225A8 #A83025 #5BA825 #259CA8
square
#7225A8 #A83025 #5BA825 #259CA8
split-complementary
#7225A8 #9CA825 #25A830
monochromatic
#2E0F44 #501A76 #7225A8 #9337D3 #AE69DE

Accessibility & contrast

On white

8.25
#7225A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#7225A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7225A8
8.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7225A8#FFFFFF#000000##FFFFFF
##7225A81.008.252.558.25
#FFFFFF8.251.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CAC
Deuteranopia (green-blind)
#004FA5
Tritanopia (blue-blind)
#684666
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #7225a8;
/* rgb */ color: rgb(114, 37, 168);
/* oklch */ color: oklch(45.1% 0.196 306.6);
Tailwind
colors: {
  custom: {
    50: '#a069c3',
    500: '#7225a8',
    950: '#000000',
  },
}
SCSS
$custom: #7225a8;
$custom-light: #a069c3;
$custom-dark: #000000;
JSON
{
  "hex": "#7225a8",
  "rgb": {
    "r": 114,
    "g": 37,
    "b": 168
  },
  "hsl": {
    "h": 275.267,
    "s": 63.902,
    "l": 40.196
  },
  "oklch": {
    "l": 0.45093,
    "c": 0.19602,
    "h": 306.6
  },
  "luminance": 0.07728
}

Semantic roles & 50–950 ramp

primary
#7225A8
secondary
#8CC465
accent
#E74185
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #7225A8

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

Preview Lab → · Contrast checker → · Palette generator →

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