#7225AA#7225AA

#7225AA is a mid, vivid violet. Relative luminance 0.078; OKLCH L 45.3% C 0.198 H 306.0°. Best body text is #FFFFFF at 8.20:1 contrast (WCAG AA passes).

Color values

HEX#7225AA
RGBrgb(114, 37, 170)
HSLhsl(275, 64%, 41%)
HSVhsv(275, 78%, 67%)
CMYKcmyk(32.9%, 78.2%, 0%, 33.3%)
CIE-LABlab(33.57, 55.67, -56.26)
CIE-LCHlch(33.57, 79.15, 314.70°)
OKLaboklab(45.26% 0.1164 -0.1601)
OKLCHoklch(45.26% 0.198 306)
XYZxyz(14.8551, 7.8030, 38.7460)
Luminance0.0780 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7225AA #5DAA25
analogous
#3025AA #7225AA #AA259F
triadic
#7225AA #AA7225 #25AA72
tetradic
#7225AA #AA3025 #5DAA25 #259FAA
square
#7225AA #AA3025 #5DAA25 #259FAA
split-complementary
#7225AA #9FAA25 #25AA30
monochromatic
#2F0F45 #501A78 #7225AA #9238D4 #AE6BDF

Accessibility & contrast

On white

8.20
#7225AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#7225AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7225AA#FFFFFF#000000##FFFFFF
##7225AA1.008.202.568.20
#FFFFFF8.201.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DAE
Deuteranopia (green-blind)
#004FA7
Tritanopia (blue-blind)
#684767
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #7225aa;
/* rgb */ color: rgb(114, 37, 170);
/* oklch */ color: oklch(45.3% 0.198 306.0);
Tailwind
colors: {
  custom: {
    50: '#a069c4',
    500: '#7225aa',
    950: '#000000',
  },
}
SCSS
$custom: #7225aa;
$custom-light: #a069c4;
$custom-dark: #000000;
JSON
{
  "hex": "#7225aa",
  "rgb": {
    "r": 114,
    "g": 37,
    "b": 170
  },
  "hsl": {
    "h": 274.737,
    "s": 64.251,
    "l": 40.588
  },
  "oklch": {
    "l": 0.45255,
    "c": 0.19796,
    "h": 306
  },
  "luminance": 0.07803
}

Semantic roles & 50–950 ramp

primary
#7225AA
secondary
#8EC566
accent
#E74187
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #7225AA

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

Preview Lab → · Contrast checker → · Palette generator →

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