#7225B0#7225B0

#7225B0 is a mid, highly saturated violet. Relative luminance 0.080; OKLCH L 45.7% C 0.204 H 304.3°. Best body text is #FFFFFF at 8.06:1 contrast (WCAG AA passes).

Color values

HEX#7225B0
RGBrgb(114, 37, 176)
HSLhsl(273, 65%, 42%)
HSVhsv(273, 79%, 69%)
CMYKcmyk(35.2%, 79%, 0%, 31%)
CIE-LABlab(34.06, 57.03, -59.06)
CIE-LCHlch(34.06, 82.10, 314.00°)
OKLaboklab(45.75% 0.1149 -0.1684)
OKLCHoklch(45.75% 0.204 304.3)
XYZxyz(15.4357, 8.0352, 41.8036)
Luminance0.0804 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7225B0 #63B025
analogous
#2C25B0 #7225B0 #B025A9
triadic
#7225B0 #B07225 #25B072
tetradic
#7225B0 #B02C25 #63B025 #25A9B0
square
#7225B0 #B02C25 #63B025 #25A9B0
split-complementary
#7225B0 #A9B025 #25B02C
monochromatic
#30104B #511A7D #7225B0 #913CD6 #AE6FE1

Accessibility & contrast

On white

8.06
#7225B0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#7225B0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7225B0#FFFFFF#000000##FFFFFF
##7225B01.008.062.618.06
#FFFFFF8.061.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EB4
Deuteranopia (green-blind)
#0050AD
Tritanopia (blue-blind)
#664A6A
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #7225b0;
/* rgb */ color: rgb(114, 37, 176);
/* oklch */ color: oklch(45.7% 0.204 304.3);
Tailwind
colors: {
  custom: {
    50: '#a169c9',
    500: '#7225b0',
    950: '#000000',
  },
}
SCSS
$custom: #7225b0;
$custom-light: #a169c9;
$custom-dark: #000000;
JSON
{
  "hex": "#7225b0",
  "rgb": {
    "r": 114,
    "g": 37,
    "b": 176
  },
  "hsl": {
    "h": 273.237,
    "s": 65.258,
    "l": 41.765
  },
  "oklch": {
    "l": 0.45747,
    "c": 0.2038,
    "h": 304.3
  },
  "luminance": 0.08035
}

Semantic roles & 50–950 ramp

primary
#7225B0
secondary
#93C76A
accent
#E8408B
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7225B0

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

Preview Lab → · Contrast checker → · Palette generator →

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