#7152EA#7152EA

#7152EA is a mid, highly saturated violet. Relative luminance 0.155; OKLCH L 55.9% C 0.218 H 286.4°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#7152EA
RGBrgb(113, 82, 234)
HSLhsl(252, 78%, 62%)
HSVhsv(252, 65%, 92%)
CMYKcmyk(51.7%, 65%, 0%, 8.2%)
CIE-LABlab(46.29, 50.47, -72.71)
CIE-LCHlch(46.29, 88.50, 304.76°)
OKLaboklab(55.86% 0.0614 -0.2087)
OKLCHoklch(55.86% 0.218 286.4)
XYZxyz(24.6742, 15.4846, 79.5146)
Luminance0.1549 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7152EA #CBEA52
analogous
#527FEA #7152EA #BD52EA
triadic
#7152EA #EA7152 #52EA71
tetradic
#7152EA #EA527F #CBEA52 #52EABD
square
#7152EA #EA527F #CBEA52 #52EABD
split-complementary
#7152EA #EABD52 #7FEA52
monochromatic
#3415AD #441CE3 #7152EA #9E89F1 #CBBFF7

Accessibility & contrast

On white

5.13
#7152EA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#7152EA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7152EA
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7152EA#FFFFFF#000000##FFFFFF
##7152EA1.005.134.105.13
#FFFFFF5.131.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072EF
Deuteranopia (green-blind)
#0069E7
Tritanopia (blue-blind)
#427897
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #7152ea;
/* rgb */ color: rgb(113, 82, 234);
/* oklch */ color: oklch(55.9% 0.218 286.4);
Tailwind
colors: {
  custom: {
    50: '#a484f2',
    500: '#7152ea',
    950: '#000000',
  },
}
SCSS
$custom: #7152ea;
$custom-light: #a484f2;
$custom-dark: #000000;
JSON
{
  "hex": "#7152ea",
  "rgb": {
    "r": 113,
    "g": 82,
    "b": 234
  },
  "hsl": {
    "h": 252.237,
    "s": 78.351,
    "l": 61.961
  },
  "oklch": {
    "l": 0.55861,
    "c": 0.21755,
    "h": 286.4
  },
  "luminance": 0.15486
}

Semantic roles & 50–950 ramp

primary
#7152EA
secondary
#DCE8B0
accent
#DB0BB0
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #7152EA

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

Preview Lab → · Contrast checker → · Palette generator →

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