#7152E8#7152E8

#7152E8 is a mid, highly saturated violet. Relative luminance 0.154; OKLCH L 55.7% C 0.215 H 286.7°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#7152E8
RGBrgb(113, 82, 232)
HSLhsl(252, 77%, 62%)
HSVhsv(252, 65%, 91%)
CMYKcmyk(51.3%, 64.7%, 0%, 9%)
CIE-LABlab(46.14, 49.89, -71.83)
CIE-LCHlch(46.14, 87.46, 304.78°)
OKLaboklab(55.7% 0.0617 -0.2061)
OKLCHoklch(55.7% 0.215 286.7)
XYZxyz(24.3885, 15.3703, 78.0100)
Luminance0.1537 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7152E8 #C9E852
analogous
#527EE8 #7152E8 #BC52E8
triadic
#7152E8 #E87152 #52E871
tetradic
#7152E8 #E8527E #C9E852 #52E8BC
square
#7152E8 #E8527E #C9E852 #52E8BC
split-complementary
#7152E8 #E8BC52 #7EE852
monochromatic
#3516A9 #461EDF #7152E8 #9D88EF #CABEF6

Accessibility & contrast

On white

5.15
#7152E8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#7152E8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7152E8
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7152E8#FFFFFF#000000##FFFFFF
##7152E81.005.154.075.15
#FFFFFF5.151.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071ED
Deuteranopia (green-blind)
#0069E5
Tritanopia (blue-blind)
#437796
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #7152e8;
/* rgb */ color: rgb(113, 82, 232);
/* oklch */ color: oklch(55.7% 0.215 286.7);
Tailwind
colors: {
  custom: {
    50: '#a384f0',
    500: '#7152e8',
    950: '#000000',
  },
}
SCSS
$custom: #7152e8;
$custom-light: #a384f0;
$custom-dark: #000000;
JSON
{
  "hex": "#7152e8",
  "rgb": {
    "r": 113,
    "g": 82,
    "b": 232
  },
  "hsl": {
    "h": 252.4,
    "s": 76.531,
    "l": 61.569
  },
  "oklch": {
    "l": 0.55702,
    "c": 0.21514,
    "h": 286.7
  },
  "luminance": 0.15371
}

Semantic roles & 50–950 ramp

primary
#7152E8
secondary
#DBE7AF
accent
#D90DAF
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #7152E8

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

Preview Lab → · Contrast checker → · Palette generator →

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