#7152DD#7152DD

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

Color values

HEX#7152DD
RGBrgb(113, 82, 221)
HSLhsl(253, 67%, 59%)
HSVhsv(253, 63%, 87%)
CMYKcmyk(48.9%, 62.9%, 0%, 13.3%)
CIE-LABlab(45.31, 46.74, -66.94)
CIE-LCHlch(45.31, 81.64, 304.93°)
OKLaboklab(54.84% 0.0628 -0.1917)
OKLCHoklch(54.84% 0.202 288.1)
XYZxyz(22.8747, 14.7647, 70.0372)
Luminance0.1477 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7152DD #BEDD52
analogous
#5279DD #7152DD #B652DD
triadic
#7152DD #DD7152 #52DD71
tetradic
#7152DD #DD5279 #BEDD52 #52DDB6
square
#7152DD #DD5279 #BEDD52 #52DDB6
split-complementary
#7152DD #DDB652 #79DD52
monochromatic
#391E97 #4C28CA #7152DD #9B85E7 #C5B8F1

Accessibility & contrast

On white

5.31
#7152DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#7152DD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7152DD
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7152DD#FFFFFF#000000##FFFFFF
##7152DD1.005.313.955.31
#FFFFFF5.311.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7152dd;
/* rgb */ color: rgb(113, 82, 221);
/* oklch */ color: oklch(54.8% 0.202 288.1);
Tailwind
colors: {
  custom: {
    50: '#a284e8',
    500: '#7152dd',
    950: '#000000',
  },
}
SCSS
$custom: #7152dd;
$custom-light: #a284e8;
$custom-dark: #000000;
JSON
{
  "hex": "#7152dd",
  "rgb": {
    "r": 113,
    "g": 82,
    "b": 221
  },
  "hsl": {
    "h": 253.381,
    "s": 67.15,
    "l": 59.412
  },
  "oklch": {
    "l": 0.54844,
    "c": 0.20175,
    "h": 288.1
  },
  "luminance": 0.14766
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7152DD

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

Preview Lab → · Contrast checker → · Palette generator →

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