#7252A4#7252A4

#7252A4 is a mid, vivid violet. Relative luminance 0.123; OKLCH L 51.0% C 0.129 H 299.9°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#7252A4
RGBrgb(114, 82, 164)
HSLhsl(263, 33%, 48%)
HSVhsv(263, 50%, 64%)
CMYKcmyk(30.5%, 50%, 0%, 35.7%)
CIE-LABlab(41.68, 31.19, -39.63)
CIE-LCHlch(41.68, 50.43, 308.21°)
OKLaboklab(51% 0.0641 -0.1115)
OKLCHoklch(51% 0.129 299.9)
XYZxyz(16.6560, 12.2922, 36.6099)
Luminance0.1229 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7252A4 #84A452
analogous
#525BA4 #7252A4 #9B52A4
triadic
#7252A4 #A47252 #52A472
tetradic
#7252A4 #A4525B #84A452 #52A49B
square
#7252A4 #A4525B #84A452 #52A49B
split-complementary
#7252A4 #A49B52 #5BA452
monochromatic
#392952 #563E7B #7252A4 #9278BB #B3A1D0

Accessibility & contrast

On white

6.07
#7252A4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#7252A4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7252A4
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7252A4#FFFFFF#000000##FFFFFF
##7252A41.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3762A7
Deuteranopia (green-blind)
#3F62A2
Tritanopia (blue-blind)
#686173
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #7252a4;
/* rgb */ color: rgb(114, 82, 164);
/* oklch */ color: oklch(51.0% 0.129 299.9);
Tailwind
colors: {
  custom: {
    50: '#9d83bf',
    500: '#7252a4',
    950: '#000000',
  },
}
SCSS
$custom: #7252a4;
$custom-light: #9d83bf;
$custom-dark: #000000;
JSON
{
  "hex": "#7252a4",
  "rgb": {
    "r": 114,
    "g": 82,
    "b": 164
  },
  "hsl": {
    "h": 263.415,
    "s": 33.333,
    "l": 48.235
  },
  "oklch": {
    "l": 0.51004,
    "c": 0.1286,
    "h": 299.9
  },
  "luminance": 0.12292
}

Semantic roles & 50–950 ramp

primary
#7252A4
secondary
#ADBD95
accent
#C95EA0
background
#F9F8FB
surface
#F2EFF7
border
#CCCAD0
text
#0E0B12
muted
#7E7C81

Preview Lab

Preview with #7252A4

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

Preview Lab → · Contrast checker → · Palette generator →

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