#7225A3#7225A3

#7225A3 is a dark, vivid violet. Relative luminance 0.075; OKLCH L 44.7% C 0.191 H 308.1°. Best body text is #FFFFFF at 8.37:1 contrast (WCAG AA passes).

Color values

HEX#7225A3
RGBrgb(114, 37, 163)
HSLhsl(277, 63%, 39%)
HSVhsv(277, 77%, 64%)
CMYKcmyk(30.1%, 77.3%, 0%, 36.1%)
CIE-LABlab(33.02, 54.10, -52.95)
CIE-LCHlch(33.02, 75.70, 315.61°)
OKLaboklab(44.69% 0.118 -0.1504)
OKLCHoklch(44.69% 0.191 308.1)
XYZxyz(14.2105, 7.5451, 35.3510)
Luminance0.0755 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7225A3 #56A325
analogous
#3325A3 #7225A3 #A32595
triadic
#7225A3 #A37225 #25A372
tetradic
#7225A3 #A33325 #56A325 #2595A3
square
#7225A3 #A33325 #56A325 #2595A3
split-complementary
#7225A3 #95A325 #25A333
monochromatic
#2C0E3F #4F1A71 #7225A3 #9434D1 #AE66DC

Accessibility & contrast

On white

8.37
#7225A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#7225A3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7225A3#FFFFFF#000000##FFFFFF
##7225A31.008.372.518.37
#FFFFFF8.371.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BA6
Deuteranopia (green-blind)
#004EA0
Tritanopia (blue-blind)
#6A4463
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #7225a3;
/* rgb */ color: rgb(114, 37, 163);
/* oklch */ color: oklch(44.7% 0.191 308.1);
Tailwind
colors: {
  custom: {
    50: '#9f68bf',
    500: '#7225a3',
    950: '#000000',
  },
}
SCSS
$custom: #7225a3;
$custom-light: #9f68bf;
$custom-dark: #000000;
JSON
{
  "hex": "#7225a3",
  "rgb": {
    "r": 114,
    "g": 37,
    "b": 163
  },
  "hsl": {
    "h": 276.667,
    "s": 63,
    "l": 39.216
  },
  "oklch": {
    "l": 0.44694,
    "c": 0.19115,
    "h": 308.1
  },
  "luminance": 0.07545
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7225A3

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

Preview Lab → · Contrast checker → · Palette generator →

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