#7152E6#7152E6

#7152E6 is a mid, highly saturated violet. Relative luminance 0.153; OKLCH L 55.5% C 0.213 H 286.9°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#7152E6
RGBrgb(113, 82, 230)
HSLhsl(253, 75%, 61%)
HSVhsv(253, 64%, 90%)
CMYKcmyk(50.9%, 64.3%, 0%, 9.8%)
CIE-LABlab(45.98, 49.32, -70.95)
CIE-LCHlch(45.98, 86.41, 304.81°)
OKLaboklab(55.54% 0.0619 -0.2035)
OKLCHoklch(55.54% 0.213 286.9)
XYZxyz(24.1061, 15.2573, 76.5223)
Luminance0.1526 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7152E6 #C7E652
analogous
#527DE6 #7152E6 #BB52E6
triadic
#7152E6 #E67152 #52E671
tetradic
#7152E6 #E6527D #C7E652 #52E6BB
square
#7152E6 #E6527D #C7E652 #52E6BB
split-complementary
#7152E6 #E6BB52 #7DE652
monochromatic
#3618A6 #4720DB #7152E6 #9D87EE #C9BDF5

Accessibility & contrast

On white

5.18
#7152E6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#7152E6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7152E6
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7152E6#FFFFFF#000000##FFFFFF
##7152E61.005.184.055.18
#FFFFFF5.181.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071EB
Deuteranopia (green-blind)
#0069E3
Tritanopia (blue-blind)
#457695
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #7152e6;
/* rgb */ color: rgb(113, 82, 230);
/* oklch */ color: oklch(55.5% 0.213 286.9);
Tailwind
colors: {
  custom: {
    50: '#a384ef',
    500: '#7152e6',
    950: '#000000',
  },
}
SCSS
$custom: #7152e6;
$custom-light: #a384ef;
$custom-dark: #000000;
JSON
{
  "hex": "#7152e6",
  "rgb": {
    "r": 113,
    "g": 82,
    "b": 230
  },
  "hsl": {
    "h": 252.568,
    "s": 74.747,
    "l": 61.176
  },
  "oklch": {
    "l": 0.55544,
    "c": 0.21273,
    "h": 286.9
  },
  "luminance": 0.15258
}

Semantic roles & 50–950 ramp

primary
#7152E6
secondary
#DAE6AE
accent
#D70FAD
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #7152E6

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

Preview Lab → · Contrast checker → · Palette generator →

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