#7225C5#7225C5

#7225C5 is a mid, highly saturated violet. Relative luminance 0.089; OKLCH L 47.5% C 0.224 H 299.0°. Best body text is #FFFFFF at 7.54:1 contrast (WCAG AA passes).

Color values

HEX#7225C5
RGBrgb(114, 37, 197)
HSLhsl(269, 68%, 46%)
HSVhsv(269, 81%, 77%)
CMYKcmyk(42.1%, 81.2%, 0%, 22.7%)
CIE-LABlab(35.85, 61.90, -68.52)
CIE-LCHlch(35.85, 92.34, 312.09°)
OKLaboklab(47.55% 0.1087 -0.1961)
OKLCHoklch(47.55% 0.224 299)
XYZxyz(17.6765, 8.9315, 53.6052)
Luminance0.0893 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7225C5 #78C525
analogous
#2528C5 #7225C5 #C225C5
triadic
#7225C5 #C57225 #25C572
tetradic
#7225C5 #C52528 #78C525 #25C5C2
square
#7225C5 #C52528 #78C525 #25C5C2
split-complementary
#7225C5 #C5C225 #28C525
monochromatic
#36125E #541B91 #7225C5 #914ADD #B07EE7

Accessibility & contrast

On white

7.54
#7225C5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#7225C5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7225C5#FFFFFF#000000##FFFFFF
##7225C51.007.542.797.54
#FFFFFF7.541.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054C9
Deuteranopia (green-blind)
#0053C2
Tritanopia (blue-blind)
#5D5377
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #7225c5;
/* rgb */ color: rgb(114, 37, 197);
/* oklch */ color: oklch(47.5% 0.224 299.0);
Tailwind
colors: {
  custom: {
    50: '#a36ad8',
    500: '#7225c5',
    950: '#000000',
  },
}
SCSS
$custom: #7225c5;
$custom-light: #a36ad8;
$custom-dark: #000000;
JSON
{
  "hex": "#7225c5",
  "rgb": {
    "r": 114,
    "g": 37,
    "b": 197
  },
  "hsl": {
    "h": 268.875,
    "s": 68.376,
    "l": 45.882
  },
  "oklch": {
    "l": 0.47548,
    "c": 0.22426,
    "h": 299
  },
  "luminance": 0.08932
}

Semantic roles & 50–950 ramp

primary
#7225C5
secondary
#A5CF77
accent
#EB3D97
background
#FAF6FD
surface
#F4ECFA
border
#CEC7D3
text
#100715
muted
#7F7A83

Preview Lab

Preview with #7225C5

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

Preview Lab → · Contrast checker → · Palette generator →

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