#7152CD#7152CD

#7152CD is a mid, vivid violet. Relative luminance 0.140; OKLCH L 53.6% C 0.182 H 290.6°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#7152CD
RGBrgb(113, 82, 205)
HSLhsl(255, 55%, 56%)
HSVhsv(255, 60%, 80%)
CMYKcmyk(44.9%, 60%, 0%, 19.6%)
CIE-LABlab(44.16, 42.19, -59.63)
CIE-LCHlch(44.16, 73.05, 305.28°)
OKLaboklab(53.65% 0.0639 -0.1703)
OKLCHoklch(53.65% 0.182 290.6)
XYZxyz(20.8437, 13.9523, 59.3406)
Luminance0.1395 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7152CD #AECD52
analogous
#5271CD #7152CD #AF52CD
triadic
#7152CD #CD7152 #52CD71
tetradic
#7152CD #CD5271 #AECD52 #52CDAF
square
#7152CD #CD5271 #AECD52 #52CDAF
split-complementary
#7152CD #CDAF52 #71CD52
monochromatic
#3C2580 #5233AF #7152CD #9881DB #BFB1E8

Accessibility & contrast

On white

5.54
#7152CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#7152CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7152CD
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7152CD#FFFFFF#000000##FFFFFF
##7152CD1.005.543.795.54
#FFFFFF5.541.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD1
Deuteranopia (green-blind)
#0066CA
Tritanopia (blue-blind)
#556E88
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #7152cd;
/* rgb */ color: rgb(113, 82, 205);
/* oklch */ color: oklch(53.6% 0.182 290.6);
Tailwind
colors: {
  custom: {
    50: '#a084dd',
    500: '#7152cd',
    950: '#000000',
  },
}
SCSS
$custom: #7152cd;
$custom-light: #a084dd;
$custom-dark: #000000;
JSON
{
  "hex": "#7152cd",
  "rgb": {
    "r": 113,
    "g": 82,
    "b": 205
  },
  "hsl": {
    "h": 255.122,
    "s": 55.157,
    "l": 56.275
  },
  "oklch": {
    "l": 0.53647,
    "c": 0.18183,
    "h": 290.6
  },
  "luminance": 0.13953
}

Semantic roles & 50–950 ramp

primary
#7152CD
secondary
#CAD7A4
accent
#DE49B9
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#0F0B15
muted
#7F7C83

Preview Lab

Preview with #7152CD

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

Preview Lab → · Contrast checker → · Palette generator →

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