#7152DF#7152DF

#7152DF is a mid, highly saturated violet. Relative luminance 0.149; OKLCH L 55.0% C 0.204 H 287.9°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#7152DF
RGBrgb(113, 82, 223)
HSLhsl(253, 69%, 60%)
HSVhsv(253, 63%, 87%)
CMYKcmyk(49.3%, 63.2%, 0%, 12.5%)
CIE-LABlab(45.46, 47.31, -67.83)
CIE-LCHlch(45.46, 82.70, 304.90°)
OKLaboklab(55% 0.0626 -0.1944)
OKLCHoklch(55% 0.204 287.9)
XYZxyz(23.1427, 14.8720, 71.4489)
Luminance0.1487 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7152DF #C0DF52
analogous
#527ADF #7152DF #B752DF
triadic
#7152DF #DF7152 #52DF71
tetradic
#7152DF #DF527A #C0DF52 #52DFB7
square
#7152DF #DF527A #C0DF52 #52DFB7
split-complementary
#7152DF #DFB752 #7ADF52
monochromatic
#381D9A #4B26CE #7152DF #9B86E9 #C6B9F2

Accessibility & contrast

On white

5.28
#7152DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#7152DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7152DF
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7152DF#FFFFFF#000000##FFFFFF
##7152DF1.005.283.975.28
#FFFFFF5.281.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FE3
Deuteranopia (green-blind)
#0068DC
Tritanopia (blue-blind)
#4A7491
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #7152df;
/* rgb */ color: rgb(113, 82, 223);
/* oklch */ color: oklch(55.0% 0.204 287.9);
Tailwind
colors: {
  custom: {
    50: '#a284ea',
    500: '#7152df',
    950: '#000000',
  },
}
SCSS
$custom: #7152df;
$custom-light: #a284ea;
$custom-dark: #000000;
JSON
{
  "hex": "#7152df",
  "rgb": {
    "r": 113,
    "g": 82,
    "b": 223
  },
  "hsl": {
    "h": 253.191,
    "s": 68.78,
    "l": 59.804
  },
  "oklch": {
    "l": 0.54998,
    "c": 0.2042,
    "h": 287.9
  },
  "luminance": 0.14873
}

Semantic roles & 50–950 ramp

primary
#7152DF
secondary
#D6E2AB
accent
#EC3CC5
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #7152DF

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

Preview Lab → · Contrast checker → · Palette generator →

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