#7152CE#7152CE

#7152CE is a mid, vivid violet. Relative luminance 0.140; OKLCH L 53.7% C 0.183 H 290.4°. Best body text is #FFFFFF at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#7152CE
RGBrgb(113, 82, 206)
HSLhsl(255, 56%, 56%)
HSVhsv(255, 60%, 81%)
CMYKcmyk(45.1%, 60.2%, 0%, 19.2%)
CIE-LABlab(44.23, 42.47, -60.10)
CIE-LCHlch(44.23, 73.59, 305.25°)
OKLaboklab(53.72% 0.0638 -0.1716)
OKLCHoklch(53.72% 0.183 290.4)
XYZxyz(20.9648, 14.0008, 59.9784)
Luminance0.1400 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7152CE #AFCE52
analogous
#5271CE #7152CE #AF52CE
triadic
#7152CE #CE7152 #52CE71
tetradic
#7152CE #CE5271 #AFCE52 #52CEAF
square
#7152CE #CE5271 #AFCE52 #52CEAF
split-complementary
#7152CE #CEAF52 #71CE52
monochromatic
#3C2581 #5232B1 #7152CE #9882DC #BFB1E9

Accessibility & contrast

On white

5.53
#7152CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#7152CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7152CE
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7152CE#FFFFFF#000000##FFFFFF
##7152CE1.005.533.805.53
#FFFFFF5.531.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD2
Deuteranopia (green-blind)
#0066CB
Tritanopia (blue-blind)
#556E88
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #7152ce;
/* rgb */ color: rgb(113, 82, 206);
/* oklch */ color: oklch(53.7% 0.183 290.4);
Tailwind
colors: {
  custom: {
    50: '#a084de',
    500: '#7152ce',
    950: '#000000',
  },
}
SCSS
$custom: #7152ce;
$custom-light: #a084de;
$custom-dark: #000000;
JSON
{
  "hex": "#7152ce",
  "rgb": {
    "r": 113,
    "g": 82,
    "b": 206
  },
  "hsl": {
    "h": 255,
    "s": 55.856,
    "l": 56.471
  },
  "oklch": {
    "l": 0.5372,
    "c": 0.1831,
    "h": 290.4
  },
  "luminance": 0.14002
}

Semantic roles & 50–950 ramp

primary
#7152CE
secondary
#CBD7A4
accent
#DF49BA
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#0F0B15
muted
#7F7C83

Preview Lab

Preview with #7152CE

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

Preview Lab → · Contrast checker → · Palette generator →

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