#7225A7#7225A7

#7225A7 is a mid, vivid violet. Relative luminance 0.077; OKLCH L 45.0% C 0.195 H 306.9°. Best body text is #FFFFFF at 8.27:1 contrast (WCAG AA passes).

Color values

HEX#7225A7
RGBrgb(114, 37, 167)
HSLhsl(276, 64%, 40%)
HSVhsv(276, 78%, 65%)
CMYKcmyk(31.7%, 77.8%, 0%, 34.5%)
CIE-LABlab(33.33, 54.99, -54.85)
CIE-LCHlch(33.33, 77.67, 315.07°)
OKLaboklab(45.01% 0.1171 -0.156)
OKLCHoklch(45.01% 0.195 306.9)
XYZxyz(14.5745, 7.6907, 37.2684)
Luminance0.0769 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7225A7 #5AA725
analogous
#3125A7 #7225A7 #A7259B
triadic
#7225A7 #A77225 #25A772
tetradic
#7225A7 #A73125 #5AA725 #259BA7
square
#7225A7 #A73125 #5AA725 #259BA7
split-complementary
#7225A7 #9BA725 #25A731
monochromatic
#2E0F43 #501A75 #7225A7 #9337D3 #AE69DE

Accessibility & contrast

On white

8.27
#7225A7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#7225A7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7225A7
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7225A7#FFFFFF#000000##FFFFFF
##7225A71.008.272.548.27
#FFFFFF8.271.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CAB
Deuteranopia (green-blind)
#004FA4
Tritanopia (blue-blind)
#694665
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #7225a7;
/* rgb */ color: rgb(114, 37, 167);
/* oklch */ color: oklch(45.0% 0.195 306.9);
Tailwind
colors: {
  custom: {
    50: '#a069c2',
    500: '#7225a7',
    950: '#000000',
  },
}
SCSS
$custom: #7225a7;
$custom-light: #a069c2;
$custom-dark: #000000;
JSON
{
  "hex": "#7225a7",
  "rgb": {
    "r": 114,
    "g": 37,
    "b": 167
  },
  "hsl": {
    "h": 275.538,
    "s": 63.725,
    "l": 40
  },
  "oklch": {
    "l": 0.45013,
    "c": 0.19504,
    "h": 306.9
  },
  "luminance": 0.07691
}

Semantic roles & 50–950 ramp

primary
#7225A7
secondary
#8BC464
accent
#E74185
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #7225A7

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

Preview Lab → · Contrast checker → · Palette generator →

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