#7252D0#7252D0

#7252D0 is a mid, vivid violet. Relative luminance 0.142; OKLCH L 54.0% C 0.186 H 290.5°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#7252D0
RGBrgb(114, 82, 208)
HSLhsl(255, 57%, 57%)
HSVhsv(255, 61%, 82%)
CMYKcmyk(45.2%, 60.6%, 0%, 18.4%)
CIE-LABlab(44.47, 43.25, -60.86)
CIE-LCHlch(44.47, 74.66, 305.40°)
OKLaboklab(53.96% 0.065 -0.1738)
OKLCHoklch(53.96% 0.186 290.5)
XYZxyz(21.3387, 14.1653, 61.2721)
Luminance0.1417 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7252D0 #B0D052
analogous
#5271D0 #7252D0 #B152D0
triadic
#7252D0 #D07252 #52D072
tetradic
#7252D0 #D05271 #B0D052 #52D0B1
square
#7252D0 #D05271 #B0D052 #52D0B1
split-complementary
#7252D0 #D0B152 #71D052
monochromatic
#3C2484 #5231B4 #7252D0 #9982DD #C0B2EA

Accessibility & contrast

On white

5.48
#7252D0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#7252D0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7252D0
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7252D0#FFFFFF#000000##FFFFFF
##7252D01.005.483.835.48
#FFFFFF5.481.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD4
Deuteranopia (green-blind)
#0066CD
Tritanopia (blue-blind)
#566F89
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #7252d0;
/* rgb */ color: rgb(114, 82, 208);
/* oklch */ color: oklch(54.0% 0.186 290.5);
Tailwind
colors: {
  custom: {
    50: '#a184df',
    500: '#7252d0',
    950: '#000000',
  },
}
SCSS
$custom: #7252d0;
$custom-light: #a184df;
$custom-dark: #000000;
JSON
{
  "hex": "#7252d0",
  "rgb": {
    "r": 114,
    "g": 82,
    "b": 208
  },
  "hsl": {
    "h": 255.238,
    "s": 57.273,
    "l": 56.863
  },
  "oklch": {
    "l": 0.53959,
    "c": 0.18559,
    "h": 290.5
  },
  "luminance": 0.14166
}

Semantic roles & 50–950 ramp

primary
#7252D0
secondary
#CCD9A5
accent
#E147BA
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100B15
muted
#7F7C83

Preview Lab

Preview with #7252D0

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

Preview Lab → · Contrast checker → · Palette generator →

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