#7152E7#7152E7

#7152E7 is a mid, highly saturated violet. Relative luminance 0.153; OKLCH L 55.6% C 0.214 H 286.8°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#7152E7
RGBrgb(113, 82, 231)
HSLhsl(252, 76%, 61%)
HSVhsv(252, 65%, 91%)
CMYKcmyk(51.1%, 64.5%, 0%, 9.4%)
CIE-LABlab(46.06, 49.61, -71.39)
CIE-LCHlch(46.06, 86.93, 304.79°)
OKLaboklab(55.62% 0.0618 -0.2048)
OKLCHoklch(55.62% 0.214 286.8)
XYZxyz(24.2469, 15.3136, 77.2640)
Luminance0.1532 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7152E7 #C8E752
analogous
#527EE7 #7152E7 #BC52E7
triadic
#7152E7 #E77152 #52E771
tetradic
#7152E7 #E7527E #C8E752 #52E7BC
square
#7152E7 #E7527E #C8E752 #52E7BC
split-complementary
#7152E7 #E7BC52 #7EE752
monochromatic
#3517A7 #461FDD #7152E7 #9D88EE #C9BDF6

Accessibility & contrast

On white

5.17
#7152E7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#7152E7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7152E7
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7152E7#FFFFFF#000000##FFFFFF
##7152E71.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071EC
Deuteranopia (green-blind)
#0069E4
Tritanopia (blue-blind)
#447795
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #7152e7;
/* rgb */ color: rgb(113, 82, 231);
/* oklch */ color: oklch(55.6% 0.214 286.8);
Tailwind
colors: {
  custom: {
    50: '#a384f0',
    500: '#7152e7',
    950: '#000000',
  },
}
SCSS
$custom: #7152e7;
$custom-light: #a384f0;
$custom-dark: #000000;
JSON
{
  "hex": "#7152e7",
  "rgb": {
    "r": 113,
    "g": 82,
    "b": 231
  },
  "hsl": {
    "h": 252.483,
    "s": 75.635,
    "l": 61.373
  },
  "oklch": {
    "l": 0.55623,
    "c": 0.21392,
    "h": 286.8
  },
  "luminance": 0.15315
}

Semantic roles & 50–950 ramp

primary
#7152E7
secondary
#DBE6AF
accent
#D80EAE
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #7152E7

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

Preview Lab → · Contrast checker → · Palette generator →

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