#7152DC#7152DC

#7152DC is a mid, highly saturated violet. Relative luminance 0.147; OKLCH L 54.8% C 0.201 H 288.3°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#7152DC
RGBrgb(113, 82, 220)
HSLhsl(253, 66%, 59%)
HSVhsv(253, 63%, 86%)
CMYKcmyk(48.6%, 62.7%, 0%, 13.7%)
CIE-LABlab(45.24, 46.46, -66.49)
CIE-LCHlch(45.24, 81.11, 304.94°)
OKLaboklab(54.77% 0.0629 -0.1904)
OKLCHoklch(54.77% 0.201 288.3)
XYZxyz(22.7419, 14.7116, 69.3376)
Luminance0.1471 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7152DC #BDDC52
analogous
#5278DC #7152DC #B652DC
triadic
#7152DC #DC7152 #52DC71
tetradic
#7152DC #DC5278 #BDDC52 #52DCB6
square
#7152DC #DC5278 #BDDC52 #52DCB6
split-complementary
#7152DC #DCB652 #78DC52
monochromatic
#391E95 #4C29C8 #7152DC #9B85E6 #C5B8F1

Accessibility & contrast

On white

5.33
#7152DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#7152DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7152DC
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7152DC#FFFFFF#000000##FFFFFF
##7152DC1.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7152dc;
/* rgb */ color: rgb(113, 82, 220);
/* oklch */ color: oklch(54.8% 0.201 288.3);
Tailwind
colors: {
  custom: {
    50: '#a284e8',
    500: '#7152dc',
    950: '#000000',
  },
}
SCSS
$custom: #7152dc;
$custom-light: #a284e8;
$custom-dark: #000000;
JSON
{
  "hex": "#7152dc",
  "rgb": {
    "r": 113,
    "g": 82,
    "b": 220
  },
  "hsl": {
    "h": 253.478,
    "s": 66.346,
    "l": 59.216
  },
  "oklch": {
    "l": 0.54767,
    "c": 0.20052,
    "h": 288.3
  },
  "luminance": 0.14713
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7152DC

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

Preview Lab → · Contrast checker → · Palette generator →

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