#7252EE#7252EE

#7252EE is a mid, highly saturated violet. Relative luminance 0.158; OKLCH L 56.3% C 0.222 H 286.3°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#7252EE
RGBrgb(114, 82, 238)
HSLhsl(252, 82%, 63%)
HSVhsv(252, 66%, 93%)
CMYKcmyk(52.1%, 65.5%, 0%, 6.7%)
CIE-LABlab(46.69, 51.78, -74.31)
CIE-LCHlch(46.69, 90.57, 304.87°)
OKLaboklab(56.27% 0.0623 -0.2134)
OKLCHoklch(56.27% 0.222 286.3)
XYZxyz(25.3847, 15.7837, 82.5813)
Luminance0.1578 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7252EE #CEEE52
analogous
#5280EE #7252EE #C052EE
triadic
#7252EE #EE7252 #52EE72
tetradic
#7252EE #EE5280 #CEEE52 #52EEC0
square
#7252EE #EE5280 #CEEE52 #52EEC0
split-complementary
#7252EE #EEC052 #80EE52
monochromatic
#3312B4 #451AE9 #7252EE #9F8AF3 #CDC1F9

Accessibility & contrast

On white

5.05
#7252EE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#7252EE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7252EE
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7252EE#FFFFFF#000000##FFFFFF
##7252EE1.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073F3
Deuteranopia (green-blind)
#006AEB
Tritanopia (blue-blind)
#407999
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #7252ee;
/* rgb */ color: rgb(114, 82, 238);
/* oklch */ color: oklch(56.3% 0.222 286.3);
Tailwind
colors: {
  custom: {
    50: '#a585f5',
    500: '#7252ee',
    950: '#000000',
  },
}
SCSS
$custom: #7252ee;
$custom-light: #a585f5;
$custom-dark: #000000;
JSON
{
  "hex": "#7252ee",
  "rgb": {
    "r": 114,
    "g": 82,
    "b": 238
  },
  "hsl": {
    "h": 252.308,
    "s": 82.105,
    "l": 62.745
  },
  "oklch": {
    "l": 0.56266,
    "c": 0.22226,
    "h": 286.3
  },
  "luminance": 0.15785
}

Semantic roles & 50–950 ramp

primary
#7252EE
secondary
#DFEAB2
accent
#DE07B2
background
#FAF8FF
surface
#F4EFFE
border
#CECAD6
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #7252EE

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

Preview Lab → · Contrast checker → · Palette generator →

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