#7252EA#7252EA

#7252EA is a mid, highly saturated violet. Relative luminance 0.156; OKLCH L 55.9% C 0.217 H 286.8°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#7252EA
RGBrgb(114, 82, 234)
HSLhsl(253, 78%, 62%)
HSVhsv(253, 65%, 92%)
CMYKcmyk(51.3%, 65%, 0%, 8.2%)
CIE-LABlab(46.38, 50.64, -72.56)
CIE-LCHlch(46.38, 88.48, 304.91°)
OKLaboklab(55.95% 0.0628 -0.2082)
OKLCHoklch(55.95% 0.217 286.8)
XYZxyz(24.8036, 15.5513, 79.5207)
Luminance0.1555 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7252EA #CAEA52
analogous
#527EEA #7252EA #BE52EA
triadic
#7252EA #EA7252 #52EA72
tetradic
#7252EA #EA527E #CAEA52 #52EABE
square
#7252EA #EA527E #CAEA52 #52EABE
split-complementary
#7252EA #EABE52 #7EEA52
monochromatic
#3515AD #461CE3 #7252EA #9E89F1 #CBBFF7

Accessibility & contrast

On white

5.11
#7252EA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#7252EA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7252EA
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7252EA#FFFFFF#000000##FFFFFF
##7252EA1.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072EF
Deuteranopia (green-blind)
#006AE7
Tritanopia (blue-blind)
#447897
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #7252ea;
/* rgb */ color: rgb(114, 82, 234);
/* oklch */ color: oklch(55.9% 0.217 286.8);
Tailwind
colors: {
  custom: {
    50: '#a484f2',
    500: '#7252ea',
    950: '#000000',
  },
}
SCSS
$custom: #7252ea;
$custom-light: #a484f2;
$custom-dark: #000000;
JSON
{
  "hex": "#7252ea",
  "rgb": {
    "r": 114,
    "g": 82,
    "b": 234
  },
  "hsl": {
    "h": 252.632,
    "s": 78.351,
    "l": 61.961
  },
  "oklch": {
    "l": 0.55947,
    "c": 0.21747,
    "h": 286.8
  },
  "luminance": 0.15553
}

Semantic roles & 50–950 ramp

primary
#7252EA
secondary
#DCE8B0
accent
#DB0BAF
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #7252EA

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

Preview Lab → · Contrast checker → · Palette generator →

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