#7152E2#7152E2

#7152E2 is a mid, highly saturated violet. Relative luminance 0.150; OKLCH L 55.2% C 0.208 H 287.4°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#7152E2
RGBrgb(113, 82, 226)
HSLhsl(253, 71%, 60%)
HSVhsv(253, 64%, 89%)
CMYKcmyk(50%, 63.7%, 0%, 11.4%)
CIE-LABlab(45.68, 48.17, -69.17)
CIE-LCHlch(45.68, 84.29, 304.85°)
OKLaboklab(55.23% 0.0623 -0.1983)
OKLCHoklch(55.23% 0.208 287.4)
XYZxyz(23.5508, 15.0352, 73.5979)
Luminance0.1504 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7152E2 #C3E252
analogous
#527BE2 #7152E2 #B952E2
triadic
#7152E2 #E27152 #52E271
tetradic
#7152E2 #E2527B #C3E252 #52E2B9
square
#7152E2 #E2527B #C3E252 #52E2B9
split-complementary
#7152E2 #E2B952 #7BE252
monochromatic
#371B9F #4923D3 #7152E2 #9C86EB #C7BBF4

Accessibility & contrast

On white

5.24
#7152E2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#7152E2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7152E2
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7152E2#FFFFFF#000000##FFFFFF
##7152E21.005.244.015.24
#FFFFFF5.241.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070E7
Deuteranopia (green-blind)
#0068DF
Tritanopia (blue-blind)
#487593
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #7152e2;
/* rgb */ color: rgb(113, 82, 226);
/* oklch */ color: oklch(55.2% 0.208 287.4);
Tailwind
colors: {
  custom: {
    50: '#a384ec',
    500: '#7152e2',
    950: '#000000',
  },
}
SCSS
$custom: #7152e2;
$custom-light: #a384ec;
$custom-dark: #000000;
JSON
{
  "hex": "#7152e2",
  "rgb": {
    "r": 113,
    "g": 82,
    "b": 226
  },
  "hsl": {
    "h": 252.917,
    "s": 71.287,
    "l": 60.392
  },
  "oklch": {
    "l": 0.5523,
    "c": 0.20787,
    "h": 287.4
  },
  "luminance": 0.15036
}

Semantic roles & 50–950 ramp

primary
#7152E2
secondary
#D8E3AC
accent
#D312AA
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #7152E2

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

Preview Lab → · Contrast checker → · Palette generator →

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