#7152D6#7152D6

#7152D6 is a mid, vivid violet. Relative luminance 0.144; OKLCH L 54.3% C 0.193 H 289.1°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#7152D6
RGBrgb(113, 82, 214)
HSLhsl(254, 62%, 58%)
HSVhsv(254, 62%, 84%)
CMYKcmyk(47.2%, 61.7%, 0%, 16.1%)
CIE-LABlab(44.80, 44.74, -63.77)
CIE-LCHlch(44.80, 77.90, 305.06°)
OKLaboklab(54.31% 0.0633 -0.1824)
OKLCHoklch(54.31% 0.193 289.1)
XYZxyz(21.9615, 14.3995, 65.2275)
Luminance0.1440 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7152D6 #B7D652
analogous
#5275D6 #7152D6 #B352D6
triadic
#7152D6 #D67152 #52D671
tetradic
#7152D6 #D65275 #B7D652 #52D6B3
square
#7152D6 #D65275 #B7D652 #52D6B3
split-complementary
#7152D6 #D6B352 #75D652
monochromatic
#3A218C #4F2DBE #7152D6 #9A83E2 #C2B5ED

Accessibility & contrast

On white

5.41
#7152D6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#7152D6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7152D6
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7152D6#FFFFFF#000000##FFFFFF
##7152D61.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DDA
Deuteranopia (green-blind)
#0067D3
Tritanopia (blue-blind)
#50718C
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #7152d6;
/* rgb */ color: rgb(113, 82, 214);
/* oklch */ color: oklch(54.3% 0.193 289.1);
Tailwind
colors: {
  custom: {
    50: '#a184e3',
    500: '#7152d6',
    950: '#000000',
  },
}
SCSS
$custom: #7152d6;
$custom-light: #a184e3;
$custom-dark: #000000;
JSON
{
  "hex": "#7152d6",
  "rgb": {
    "r": 113,
    "g": 82,
    "b": 214
  },
  "hsl": {
    "h": 254.091,
    "s": 61.682,
    "l": 58.039
  },
  "oklch": {
    "l": 0.54313,
    "c": 0.1931,
    "h": 289.1
  },
  "luminance": 0.144
}

Semantic roles & 50–950 ramp

primary
#7152D6
secondary
#D0DCA8
accent
#E543BF
background
#FAF8FE
surface
#F4EFFC
border
#CECAD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #7152D6

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

Preview Lab → · Contrast checker → · Palette generator →

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