#7252D9#7252D9

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

Color values

HEX#7252D9
RGBrgb(114, 82, 217)
HSLhsl(254, 64%, 59%)
HSVhsv(254, 62%, 85%)
CMYKcmyk(47.5%, 62.2%, 0%, 14.9%)
CIE-LABlab(45.11, 45.79, -64.98)
CIE-LCHlch(45.11, 79.49, 305.17°)
OKLaboklab(54.63% 0.0644 -0.1859)
OKLCHoklch(54.63% 0.197 289.1)
XYZxyz(22.4775, 14.6208, 67.2699)
Luminance0.1462 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7252D9 #B9D952
analogous
#5275D9 #7252D9 #B552D9
triadic
#7252D9 #D97252 #52D972
tetradic
#7252D9 #D95275 #B9D952 #52D9B5
square
#7252D9 #D95275 #B9D952 #52D9B5
split-complementary
#7252D9 #D9B552 #75D952
monochromatic
#3B2091 #4F2BC3 #7252D9 #9B84E4 #C4B6EF

Accessibility & contrast

On white

5.35
#7252D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#7252D9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7252D9
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7252D9#FFFFFF#000000##FFFFFF
##7252D91.005.353.925.35
#FFFFFF5.351.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EDD
Deuteranopia (green-blind)
#0067D6
Tritanopia (blue-blind)
#50728E
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #7252d9;
/* rgb */ color: rgb(114, 82, 217);
/* oklch */ color: oklch(54.6% 0.197 289.1);
Tailwind
colors: {
  custom: {
    50: '#a284e6',
    500: '#7252d9',
    950: '#000000',
  },
}
SCSS
$custom: #7252d9;
$custom-light: #a284e6;
$custom-dark: #000000;
JSON
{
  "hex": "#7252d9",
  "rgb": {
    "r": 114,
    "g": 82,
    "b": 217
  },
  "hsl": {
    "h": 254.222,
    "s": 63.981,
    "l": 58.627
  },
  "oklch": {
    "l": 0.54629,
    "c": 0.19679,
    "h": 289.1
  },
  "luminance": 0.14622
}

Semantic roles & 50–950 ramp

primary
#7252D9
secondary
#D1DEA9
accent
#E741C0
background
#FAF8FE
surface
#F4EFFC
border
#CECAD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #7252D9

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

Preview Lab → · Contrast checker → · Palette generator →

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