#7252DD#7252DD

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

Color values

HEX#7252DD
RGBrgb(114, 82, 221)
HSLhsl(254, 67%, 59%)
HSVhsv(254, 63%, 87%)
CMYKcmyk(48.4%, 62.9%, 0%, 13.3%)
CIE-LABlab(45.40, 46.93, -66.78)
CIE-LCHlch(45.40, 81.62, 305.10°)
OKLaboklab(54.93% 0.0641 -0.1912)
OKLCHoklch(54.93% 0.202 288.5)
XYZxyz(23.0041, 14.8315, 70.0433)
Luminance0.1483 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7252DD #BDDD52
analogous
#5278DD #7252DD #B852DD
triadic
#7252DD #DD7252 #52DD72
tetradic
#7252DD #DD5278 #BDDD52 #52DDB8
square
#7252DD #DD5278 #BDDD52 #52DDB8
split-complementary
#7252DD #DDB852 #78DD52
monochromatic
#3A1E97 #4D28CA #7252DD #9C85E7 #C5B8F1

Accessibility & contrast

On white

5.29
#7252DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#7252DD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7252DD
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7252DD#FFFFFF#000000##FFFFFF
##7252DD1.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EE1
Deuteranopia (green-blind)
#0068DA
Tritanopia (blue-blind)
#4E7390
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #7252dd;
/* rgb */ color: rgb(114, 82, 221);
/* oklch */ color: oklch(54.9% 0.202 288.5);
Tailwind
colors: {
  custom: {
    50: '#a384e8',
    500: '#7252dd',
    950: '#000000',
  },
}
SCSS
$custom: #7252dd;
$custom-light: #a384e8;
$custom-dark: #000000;
JSON
{
  "hex": "#7252dd",
  "rgb": {
    "r": 114,
    "g": 82,
    "b": 221
  },
  "hsl": {
    "h": 253.813,
    "s": 67.15,
    "l": 59.412
  },
  "oklch": {
    "l": 0.54933,
    "c": 0.20171,
    "h": 288.5
  },
  "luminance": 0.14832
}

Semantic roles & 50–950 ramp

primary
#7252DD
secondary
#D4E0AA
accent
#EA3EC2
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #7252DD

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

Preview Lab → · Contrast checker → · Palette generator →

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