#7252DC#7252DC

#7252DC is a mid, highly saturated violet. Relative luminance 0.148; OKLCH L 54.9% C 0.200 H 288.7°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#7252DC
RGBrgb(114, 82, 220)
HSLhsl(254, 66%, 59%)
HSVhsv(254, 63%, 86%)
CMYKcmyk(48.2%, 62.7%, 0%, 13.7%)
CIE-LABlab(45.33, 46.65, -66.33)
CIE-LCHlch(45.33, 81.09, 305.12°)
OKLaboklab(54.86% 0.0642 -0.1899)
OKLCHoklch(54.86% 0.2 288.7)
XYZxyz(22.8713, 14.7783, 69.3437)
Luminance0.1478 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7252DC #BCDC52
analogous
#5277DC #7252DC #B752DC
triadic
#7252DC #DC7252 #52DC72
tetradic
#7252DC #DC5277 #BCDC52 #52DCB7
square
#7252DC #DC5277 #BCDC52 #52DCB7
split-complementary
#7252DC #DCB752 #77DC52
monochromatic
#3A1E95 #4E29C8 #7252DC #9B85E6 #C5B8F1

Accessibility & contrast

On white

5.31
#7252DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#7252DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7252DC
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7252DC#FFFFFF#000000##FFFFFF
##7252DC1.005.313.965.31
#FFFFFF5.311.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EE0
Deuteranopia (green-blind)
#0068D9
Tritanopia (blue-blind)
#4E738F
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #7252dc;
/* rgb */ color: rgb(114, 82, 220);
/* oklch */ color: oklch(54.9% 0.200 288.7);
Tailwind
colors: {
  custom: {
    50: '#a284e8',
    500: '#7252dc',
    950: '#000000',
  },
}
SCSS
$custom: #7252dc;
$custom-light: #a284e8;
$custom-dark: #000000;
JSON
{
  "hex": "#7252dc",
  "rgb": {
    "r": 114,
    "g": 82,
    "b": 220
  },
  "hsl": {
    "h": 253.913,
    "s": 66.346,
    "l": 59.216
  },
  "oklch": {
    "l": 0.54857,
    "c": 0.20047,
    "h": 288.7
  },
  "luminance": 0.14779
}

Semantic roles & 50–950 ramp

primary
#7252DC
secondary
#D3E0AA
accent
#E93FC2
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #7252DC

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

Preview Lab → · Contrast checker → · Palette generator →

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