#7225BD#7225BD

#7225BD is a mid, highly saturated violet. Relative luminance 0.086; OKLCH L 46.8% C 0.216 H 300.9°. Best body text is #FFFFFF at 7.73:1 contrast (WCAG AA passes).

Color values

HEX#7225BD
RGBrgb(114, 37, 189)
HSLhsl(270, 67%, 44%)
HSVhsv(270, 80%, 74%)
CMYKcmyk(39.7%, 80.4%, 0%, 25.9%)
CIE-LABlab(35.15, 60.03, -64.97)
CIE-LCHlch(35.15, 88.46, 312.74°)
OKLaboklab(46.85% 0.1112 -0.1857)
OKLCHoklch(46.85% 0.216 300.9)
XYZxyz(16.7840, 8.5745, 48.9050)
Luminance0.0858 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7225BD #70BD25
analogous
#2625BD #7225BD #BD25BC
triadic
#7225BD #BD7225 #25BD72
tetradic
#7225BD #BD2625 #70BD25 #25BCBD
square
#7225BD #BD2625 #70BD25 #25BCBD
split-complementary
#7225BD #BCBD25 #25BD26
monochromatic
#341157 #531B8A #7225BD #9145DB #AF78E5

Accessibility & contrast

On white

7.73
#7225BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#7225BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7225BD#FFFFFF#000000##FFFFFF
##7225BD1.007.732.727.73
#FFFFFF7.731.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052C1
Deuteranopia (green-blind)
#0052BA
Tritanopia (blue-blind)
#614F72
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #7225bd;
/* rgb */ color: rgb(114, 37, 189);
/* oklch */ color: oklch(46.8% 0.216 300.9);
Tailwind
colors: {
  custom: {
    50: '#a26ad2',
    500: '#7225bd',
    950: '#000000',
  },
}
SCSS
$custom: #7225bd;
$custom-light: #a26ad2;
$custom-dark: #000000;
JSON
{
  "hex": "#7225bd",
  "rgb": {
    "r": 114,
    "g": 37,
    "b": 189
  },
  "hsl": {
    "h": 270.395,
    "s": 67.257,
    "l": 44.314
  },
  "oklch": {
    "l": 0.46848,
    "c": 0.21646,
    "h": 300.9
  },
  "luminance": 0.08575
}

Semantic roles & 50–950 ramp

primary
#7225BD
secondary
#9ECC72
accent
#EA3E93
background
#FAF6FD
surface
#F4ECFA
border
#CEC7D3
text
#100714
muted
#7F7A83

Preview Lab

Preview with #7225BD

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

Preview Lab → · Contrast checker → · Palette generator →

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