#7152CA#7152CA

#7152CA is a mid, vivid violet. Relative luminance 0.138; OKLCH L 53.4% C 0.178 H 291.1°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#7152CA
RGBrgb(113, 82, 202)
HSLhsl(256, 53%, 56%)
HSVhsv(256, 59%, 79%)
CMYKcmyk(44.1%, 59.4%, 0%, 20.8%)
CIE-LABlab(43.96, 41.34, -58.24)
CIE-LCHlch(43.96, 71.42, 305.37°)
OKLaboklab(53.43% 0.064 -0.1661)
OKLCHoklch(53.43% 0.178 291.1)
XYZxyz(20.4851, 13.8089, 57.4517)
Luminance0.1381 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7152CA #ABCA52
analogous
#526FCA #7152CA #AD52CA
triadic
#7152CA #CA7152 #52CA71
tetradic
#7152CA #CA526F #ABCA52 #52CAAD
square
#7152CA #CA526F #ABCA52 #52CAAD
split-complementary
#7152CA #CAAD52 #6FCA52
monochromatic
#3C267C #5334AB #7152CA #9781D8 #BEB0E7

Accessibility & contrast

On white

5.58
#7152CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#7152CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7152CA
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7152CA#FFFFFF#000000##FFFFFF
##7152CA1.005.583.765.58
#FFFFFF5.581.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ACE
Deuteranopia (green-blind)
#0065C7
Tritanopia (blue-blind)
#576D86
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #7152ca;
/* rgb */ color: rgb(113, 82, 202);
/* oklch */ color: oklch(53.4% 0.178 291.1);
Tailwind
colors: {
  custom: {
    50: '#a084db',
    500: '#7152ca',
    950: '#000000',
  },
}
SCSS
$custom: #7152ca;
$custom-light: #a084db;
$custom-dark: #000000;
JSON
{
  "hex": "#7152ca",
  "rgb": {
    "r": 113,
    "g": 82,
    "b": 202
  },
  "hsl": {
    "h": 255.5,
    "s": 53.097,
    "l": 55.686
  },
  "oklch": {
    "l": 0.5343,
    "c": 0.17804,
    "h": 291.1
  },
  "luminance": 0.1381
}

Semantic roles & 50–950 ramp

primary
#7152CA
secondary
#C8D5A3
accent
#DD4BB7
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#0F0B15
muted
#7F7C83

Preview Lab

Preview with #7152CA

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

Preview Lab → · Contrast checker → · Palette generator →

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