#7225C4#7225C4

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

Color values

HEX#7225C4
RGBrgb(114, 37, 196)
HSLhsl(269, 68%, 46%)
HSVhsv(269, 81%, 77%)
CMYKcmyk(41.8%, 81.1%, 0%, 23.1%)
CIE-LABlab(35.76, 61.67, -68.08)
CIE-LCHlch(35.76, 91.86, 312.17°)
OKLaboklab(47.46% 0.109 -0.1948)
OKLCHoklch(47.46% 0.223 299.2)
XYZxyz(17.5623, 8.8858, 53.0037)
Luminance0.0889 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7225C4 #77C425
analogous
#2527C4 #7225C4 #C125C4
triadic
#7225C4 #C47225 #25C472
tetradic
#7225C4 #C42527 #77C425 #25C4C1
square
#7225C4 #C42527 #77C425 #25C4C1
split-complementary
#7225C4 #C4C125 #27C425
monochromatic
#36125D #541B91 #7225C4 #9149DD #B07DE6

Accessibility & contrast

On white

7.56
#7225C4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#7225C4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7225C4#FFFFFF#000000##FFFFFF
##7225C41.007.562.787.56
#FFFFFF7.561.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054C8
Deuteranopia (green-blind)
#0053C1
Tritanopia (blue-blind)
#5E5376
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #7225c4;
/* rgb */ color: rgb(114, 37, 196);
/* oklch */ color: oklch(47.5% 0.223 299.2);
Tailwind
colors: {
  custom: {
    50: '#a26ad7',
    500: '#7225c4',
    950: '#000000',
  },
}
SCSS
$custom: #7225c4;
$custom-light: #a26ad7;
$custom-dark: #000000;
JSON
{
  "hex": "#7225c4",
  "rgb": {
    "r": 114,
    "g": 37,
    "b": 196
  },
  "hsl": {
    "h": 269.057,
    "s": 68.24,
    "l": 45.686
  },
  "oklch": {
    "l": 0.4746,
    "c": 0.22328,
    "h": 299.2
  },
  "luminance": 0.08886
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7225C4

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

Preview Lab → · Contrast checker → · Palette generator →

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