#7225A2#7225A2

#7225A2 is a dark, vivid violet. Relative luminance 0.075; OKLCH L 44.6% C 0.190 H 308.4°. Best body text is #FFFFFF at 8.39:1 contrast (WCAG AA passes).

Color values

HEX#7225A2
RGBrgb(114, 37, 162)
HSLhsl(277, 63%, 39%)
HSVhsv(277, 77%, 64%)
CMYKcmyk(29.6%, 77.2%, 0%, 36.5%)
CIE-LABlab(32.94, 53.87, -52.47)
CIE-LCHlch(32.94, 75.20, 315.76°)
OKLaboklab(44.62% 0.1182 -0.149)
OKLCHoklch(44.62% 0.19 308.4)
XYZxyz(14.1212, 7.5094, 34.8810)
Luminance0.0751 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7225A2 #55A225
analogous
#3425A2 #7225A2 #A22594
triadic
#7225A2 #A27225 #25A272
tetradic
#7225A2 #A23425 #55A225 #2594A2
square
#7225A2 #A23425 #55A225 #2594A2
split-complementary
#7225A2 #94A225 #25A234
monochromatic
#2C0E3E #4F1A70 #7225A2 #9434D1 #AE65DC

Accessibility & contrast

On white

8.39
#7225A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#7225A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7225A2
8.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7225A2#FFFFFF#000000##FFFFFF
##7225A21.008.392.508.39
#FFFFFF8.391.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BA5
Deuteranopia (green-blind)
#004E9F
Tritanopia (blue-blind)
#6A4462
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #7225a2;
/* rgb */ color: rgb(114, 37, 162);
/* oklch */ color: oklch(44.6% 0.190 308.4);
Tailwind
colors: {
  custom: {
    50: '#9f68be',
    500: '#7225a2',
    950: '#000000',
  },
}
SCSS
$custom: #7225a2;
$custom-light: #9f68be;
$custom-dark: #000000;
JSON
{
  "hex": "#7225a2",
  "rgb": {
    "r": 114,
    "g": 37,
    "b": 162
  },
  "hsl": {
    "h": 276.96,
    "s": 62.814,
    "l": 39.02
  },
  "oklch": {
    "l": 0.44616,
    "c": 0.19018,
    "h": 308.4
  },
  "luminance": 0.07509
}

Semantic roles & 50–950 ramp

primary
#7225A2
secondary
#86C261
accent
#E64281
background
#FAF6FB
surface
#F4EBF7
border
#CEC6D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #7225A2

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

Preview Lab → · Contrast checker → · Palette generator →

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