#7225AF#7225AF

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

Color values

HEX#7225AF
RGBrgb(114, 37, 175)
HSLhsl(273, 65%, 42%)
HSVhsv(273, 79%, 69%)
CMYKcmyk(34.9%, 78.9%, 0%, 31.4%)
CIE-LABlab(33.97, 56.80, -58.59)
CIE-LCHlch(33.97, 81.61, 314.11°)
OKLaboklab(45.66% 0.1151 -0.167)
OKLCHoklch(45.66% 0.203 304.6)
XYZxyz(15.3371, 7.9958, 41.2845)
Luminance0.0800 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7225AF #62AF25
analogous
#2D25AF #7225AF #AF25A7
triadic
#7225AF #AF7225 #25AF72
tetradic
#7225AF #AF2D25 #62AF25 #25A7AF
square
#7225AF #AF2D25 #62AF25 #25A7AF
split-complementary
#7225AF #A7AF25 #25AF2D
monochromatic
#30104A #511A7C #7225AF #923CD6 #AE6EE0

Accessibility & contrast

On white

8.08
#7225AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#7225AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7225AF
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7225AF#FFFFFF#000000##FFFFFF
##7225AF1.008.082.608.08
#FFFFFF8.081.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EB3
Deuteranopia (green-blind)
#0050AC
Tritanopia (blue-blind)
#66496A
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #7225af;
/* rgb */ color: rgb(114, 37, 175);
/* oklch */ color: oklch(45.7% 0.203 304.6);
Tailwind
colors: {
  custom: {
    50: '#a069c8',
    500: '#7225af',
    950: '#000000',
  },
}
SCSS
$custom: #7225af;
$custom-light: #a069c8;
$custom-dark: #000000;
JSON
{
  "hex": "#7225af",
  "rgb": {
    "r": 114,
    "g": 37,
    "b": 175
  },
  "hsl": {
    "h": 273.478,
    "s": 65.094,
    "l": 41.569
  },
  "oklch": {
    "l": 0.45664,
    "c": 0.20283,
    "h": 304.6
  },
  "luminance": 0.07996
}

Semantic roles & 50–950 ramp

primary
#7225AF
secondary
#92C769
accent
#E8408A
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #7225AF

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

Preview Lab → · Contrast checker → · Palette generator →

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