#7225AC#7225AC

#7225AC is a mid, vivid violet. Relative luminance 0.079; OKLCH L 45.4% C 0.200 H 305.4°. Best body text is #FFFFFF at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#7225AC
RGBrgb(114, 37, 172)
HSLhsl(274, 65%, 41%)
HSVhsv(274, 78%, 67%)
CMYKcmyk(33.7%, 78.5%, 0%, 32.5%)
CIE-LABlab(33.73, 56.12, -57.20)
CIE-LCHlch(33.73, 80.13, 314.46°)
OKLaboklab(45.42% 0.1159 -0.1629)
OKLCHoklch(45.42% 0.2 305.4)
XYZxyz(15.0457, 7.8792, 39.7499)
Luminance0.0788 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7225AC #5FAC25
analogous
#2E25AC #7225AC #AC25A2
triadic
#7225AC #AC7225 #25AC72
tetradic
#7225AC #AC2E25 #5FAC25 #25A2AC
square
#7225AC #AC2E25 #5FAC25 #25A2AC
split-complementary
#7225AC #A2AC25 #25AC2E
monochromatic
#2F0F47 #511A7A #7225AC #923AD5 #AE6CDF

Accessibility & contrast

On white

8.15
#7225AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#7225AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7225AC
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7225AC#FFFFFF#000000##FFFFFF
##7225AC1.008.152.588.15
#FFFFFF8.151.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DB0
Deuteranopia (green-blind)
#004FA9
Tritanopia (blue-blind)
#674868
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #7225ac;
/* rgb */ color: rgb(114, 37, 172);
/* oklch */ color: oklch(45.4% 0.200 305.4);
Tailwind
colors: {
  custom: {
    50: '#a069c6',
    500: '#7225ac',
    950: '#000000',
  },
}
SCSS
$custom: #7225ac;
$custom-light: #a069c6;
$custom-dark: #000000;
JSON
{
  "hex": "#7225ac",
  "rgb": {
    "r": 114,
    "g": 37,
    "b": 172
  },
  "hsl": {
    "h": 274.222,
    "s": 64.593,
    "l": 40.98
  },
  "oklch": {
    "l": 0.45417,
    "c": 0.19991,
    "h": 305.4
  },
  "luminance": 0.07879
}

Semantic roles & 50–950 ramp

primary
#7225AC
secondary
#90C667
accent
#E84088
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #7225AC

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

Preview Lab → · Contrast checker → · Palette generator →

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