#7252E7#7252E7

#7252E7 is a mid, highly saturated violet. Relative luminance 0.154; OKLCH L 55.7% C 0.214 H 287.2°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#7252E7
RGBrgb(114, 82, 231)
HSLhsl(253, 76%, 61%)
HSVhsv(253, 65%, 91%)
CMYKcmyk(50.6%, 64.5%, 0%, 9.4%)
CIE-LABlab(46.15, 49.78, -71.24)
CIE-LCHlch(46.15, 86.91, 304.95°)
OKLaboklab(55.71% 0.0631 -0.2043)
OKLCHoklch(55.71% 0.214 287.2)
XYZxyz(24.3763, 15.3803, 77.2701)
Luminance0.1538 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7252E7 #C7E752
analogous
#527DE7 #7252E7 #BD52E7
triadic
#7252E7 #E77252 #52E772
tetradic
#7252E7 #E7527D #C7E752 #52E7BD
square
#7252E7 #E7527D #C7E752 #52E7BD
split-complementary
#7252E7 #E7BD52 #7DE752
monochromatic
#3617A7 #481FDD #7252E7 #9E88EE #CABDF6

Accessibility & contrast

On white

5.15
#7252E7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#7252E7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7252E7
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7252E7#FFFFFF#000000##FFFFFF
##7252E71.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071EC
Deuteranopia (green-blind)
#0069E4
Tritanopia (blue-blind)
#467795
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #7252e7;
/* rgb */ color: rgb(114, 82, 231);
/* oklch */ color: oklch(55.7% 0.214 287.2);
Tailwind
colors: {
  custom: {
    50: '#a484f0',
    500: '#7252e7',
    950: '#000000',
  },
}
SCSS
$custom: #7252e7;
$custom-light: #a484f0;
$custom-dark: #000000;
JSON
{
  "hex": "#7252e7",
  "rgb": {
    "r": 114,
    "g": 82,
    "b": 231
  },
  "hsl": {
    "h": 252.886,
    "s": 75.635,
    "l": 61.373
  },
  "oklch": {
    "l": 0.5571,
    "c": 0.21386,
    "h": 287.2
  },
  "luminance": 0.15382
}

Semantic roles & 50–950 ramp

primary
#7252E7
secondary
#DAE6AF
accent
#D80EAC
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #7252E7

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

Preview Lab → · Contrast checker → · Palette generator →

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