#7252E8#7252E8

#7252E8 is a mid, highly saturated violet. Relative luminance 0.154; OKLCH L 55.8% C 0.215 H 287.0°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#7252E8
RGBrgb(114, 82, 232)
HSLhsl(253, 77%, 62%)
HSVhsv(253, 65%, 91%)
CMYKcmyk(50.9%, 64.7%, 0%, 9%)
CIE-LABlab(46.23, 50.07, -71.68)
CIE-LCHlch(46.23, 87.43, 304.93°)
OKLaboklab(55.79% 0.063 -0.2056)
OKLCHoklch(55.79% 0.215 287)
XYZxyz(24.5179, 15.4370, 78.0160)
Luminance0.1544 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7252E8 #C8E852
analogous
#527DE8 #7252E8 #BD52E8
triadic
#7252E8 #E87252 #52E872
tetradic
#7252E8 #E8527D #C8E852 #52E8BD
square
#7252E8 #E8527D #C8E852 #52E8BD
split-complementary
#7252E8 #E8BD52 #7DE852
monochromatic
#3616A9 #471EDF #7252E8 #9E88EF #CABEF6

Accessibility & contrast

On white

5.14
#7252E8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#7252E8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7252E8
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7252E8#FFFFFF#000000##FFFFFF
##7252E81.005.144.095.14
#FFFFFF5.141.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071ED
Deuteranopia (green-blind)
#0069E5
Tritanopia (blue-blind)
#467796
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #7252e8;
/* rgb */ color: rgb(114, 82, 232);
/* oklch */ color: oklch(55.8% 0.215 287.0);
Tailwind
colors: {
  custom: {
    50: '#a484f0',
    500: '#7252e8',
    950: '#000000',
  },
}
SCSS
$custom: #7252e8;
$custom-light: #a484f0;
$custom-dark: #000000;
JSON
{
  "hex": "#7252e8",
  "rgb": {
    "r": 114,
    "g": 82,
    "b": 232
  },
  "hsl": {
    "h": 252.8,
    "s": 76.531,
    "l": 61.569
  },
  "oklch": {
    "l": 0.55788,
    "c": 0.21507,
    "h": 287
  },
  "luminance": 0.15438
}

Semantic roles & 50–950 ramp

primary
#7252E8
secondary
#DBE7AF
accent
#D90DAD
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #7252E8

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

Preview Lab → · Contrast checker → · Palette generator →

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