#7252E4#7252E4

#7252E4 is a mid, highly saturated violet. Relative luminance 0.152; OKLCH L 55.5% C 0.210 H 287.6°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#7252E4
RGBrgb(114, 82, 228)
HSLhsl(253, 73%, 61%)
HSVhsv(253, 64%, 89%)
CMYKcmyk(50%, 64%, 0%, 10.6%)
CIE-LABlab(45.92, 48.92, -69.91)
CIE-LCHlch(45.92, 85.33, 304.99°)
OKLaboklab(55.47% 0.0634 -0.2004)
OKLCHoklch(55.47% 0.21 287.6)
XYZxyz(23.9562, 15.2123, 75.0577)
Luminance0.1521 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7252E4 #C4E452
analogous
#527BE4 #7252E4 #BB52E4
triadic
#7252E4 #E47252 #52E472
tetradic
#7252E4 #E4527B #C4E452 #52E4BB
square
#7252E4 #E4527B #C4E452 #52E4BB
split-complementary
#7252E4 #E4BB52 #7BE452
monochromatic
#3719A2 #4922D7 #7252E4 #9D87EC #C8BCF5

Accessibility & contrast

On white

5.19
#7252E4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#7252E4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7252E4
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7252E4#FFFFFF#000000##FFFFFF
##7252E41.005.194.045.19
#FFFFFF5.191.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070E9
Deuteranopia (green-blind)
#0069E1
Tritanopia (blue-blind)
#497694
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #7252e4;
/* rgb */ color: rgb(114, 82, 228);
/* oklch */ color: oklch(55.5% 0.210 287.6);
Tailwind
colors: {
  custom: {
    50: '#a384ed',
    500: '#7252e4',
    950: '#000000',
  },
}
SCSS
$custom: #7252e4;
$custom-light: #a384ed;
$custom-dark: #000000;
JSON
{
  "hex": "#7252e4",
  "rgb": {
    "r": 114,
    "g": 82,
    "b": 228
  },
  "hsl": {
    "h": 253.151,
    "s": 73,
    "l": 60.784
  },
  "oklch": {
    "l": 0.55474,
    "c": 0.21024,
    "h": 287.6
  },
  "luminance": 0.15213
}

Semantic roles & 50–950 ramp

primary
#7252E4
secondary
#D8E5AD
accent
#D510AA
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #7252E4

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

Preview Lab → · Contrast checker → · Palette generator →

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