#7252D8#7252D8

#7252D8 is a mid, vivid violet. Relative luminance 0.146; OKLCH L 54.6% C 0.196 H 289.3°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#7252D8
RGBrgb(114, 82, 216)
HSLhsl(254, 63%, 58%)
HSVhsv(254, 62%, 85%)
CMYKcmyk(47.2%, 62%, 0%, 15.3%)
CIE-LABlab(45.04, 45.51, -64.52)
CIE-LCHlch(45.04, 78.96, 305.20°)
OKLaboklab(54.55% 0.0645 -0.1846)
OKLCHoklch(54.55% 0.196 289.3)
XYZxyz(22.3478, 14.5690, 66.5870)
Luminance0.1457 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7252D8 #B8D852
analogous
#5275D8 #7252D8 #B552D8
triadic
#7252D8 #D87252 #52D872
tetradic
#7252D8 #D85275 #B8D852 #52D8B5
square
#7252D8 #D85275 #B8D852 #52D8B5
split-complementary
#7252D8 #D8B552 #75D852
monochromatic
#3B208F #4F2CC1 #7252D8 #9B84E3 #C3B6EF

Accessibility & contrast

On white

5.37
#7252D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#7252D8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7252D8
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7252D8#FFFFFF#000000##FFFFFF
##7252D81.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DDC
Deuteranopia (green-blind)
#0067D5
Tritanopia (blue-blind)
#51728D
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #7252d8;
/* rgb */ color: rgb(114, 82, 216);
/* oklch */ color: oklch(54.6% 0.196 289.3);
Tailwind
colors: {
  custom: {
    50: '#a284e5',
    500: '#7252d8',
    950: '#000000',
  },
}
SCSS
$custom: #7252d8;
$custom-light: #a284e5;
$custom-dark: #000000;
JSON
{
  "hex": "#7252d8",
  "rgb": {
    "r": 114,
    "g": 82,
    "b": 216
  },
  "hsl": {
    "h": 254.328,
    "s": 63.208,
    "l": 58.431
  },
  "oklch": {
    "l": 0.54553,
    "c": 0.19555,
    "h": 289.3
  },
  "luminance": 0.1457
}

Semantic roles & 50–950 ramp

primary
#7252D8
secondary
#D1DDA8
accent
#E642BF
background
#FAF8FE
surface
#F4EFFC
border
#CECAD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #7252D8

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

Preview Lab → · Contrast checker → · Palette generator →

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