#7252AD#7252AD

#7252AD is a mid, vivid violet. Relative luminance 0.126; OKLCH L 51.6% C 0.141 H 297.5°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#7252AD
RGBrgb(114, 82, 173)
HSLhsl(261, 36%, 50%)
HSVhsv(261, 53%, 68%)
CMYKcmyk(34.1%, 52.6%, 0%, 32.2%)
CIE-LABlab(42.20, 33.58, -44.13)
CIE-LCHlch(42.20, 55.45, 307.27°)
OKLaboklab(51.56% 0.0648 -0.1247)
OKLCHoklch(51.56% 0.141 297.5)
XYZxyz(17.4977, 12.6289, 41.0428)
Luminance0.1263 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7252AD #8DAD52
analogous
#5260AD #7252AD #9F52AD
triadic
#7252AD #AD7252 #52AD72
tetradic
#7252AD #AD5260 #8DAD52 #52AD9F
square
#7252AD #AD5260 #8DAD52 #52AD9F
split-complementary
#7252AD #AD9F52 #60AD52
monochromatic
#3B2B5A #573E83 #7252AD #947CC1 #B6A5D4

Accessibility & contrast

On white

5.96
#7252AD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#7252AD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7252AD
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7252AD#FFFFFF#000000##FFFFFF
##7252AD1.005.963.535.96
#FFFFFF5.961.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F64B0
Deuteranopia (green-blind)
#3863AB
Tritanopia (blue-blind)
#656477
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #7252ad;
/* rgb */ color: rgb(114, 82, 173);
/* oklch */ color: oklch(51.6% 0.141 297.5);
Tailwind
colors: {
  custom: {
    50: '#9e83c6',
    500: '#7252ad',
    950: '#000000',
  },
}
SCSS
$custom: #7252ad;
$custom-light: #9e83c6;
$custom-dark: #000000;
JSON
{
  "hex": "#7252ad",
  "rgb": {
    "r": 114,
    "g": 82,
    "b": 173
  },
  "hsl": {
    "h": 261.099,
    "s": 35.686,
    "l": 50
  },
  "oklch": {
    "l": 0.51561,
    "c": 0.14053,
    "h": 297.5
  },
  "luminance": 0.12629
}

Semantic roles & 50–950 ramp

primary
#7252AD
secondary
#B3C299
accent
#CC5CA4
background
#F9F8FC
surface
#F2EFF8
border
#CCCAD1
text
#0F0B13
muted
#7E7C82

Preview Lab

Preview with #7252AD

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

Preview Lab → · Contrast checker → · Palette generator →

#7252AD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva