#7152C7#7152C7

#7152C7 is a mid, vivid violet. Relative luminance 0.137; OKLCH L 53.2% C 0.174 H 291.6°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#7152C7
RGBrgb(113, 82, 199)
HSLhsl(256, 51%, 55%)
HSVhsv(256, 59%, 78%)
CMYKcmyk(43.2%, 58.8%, 0%, 22%)
CIE-LABlab(43.75, 40.50, -56.83)
CIE-LCHlch(43.75, 69.79, 305.47°)
OKLaboklab(53.22% 0.0641 -0.162)
OKLCHoklch(53.22% 0.174 291.6)
XYZxyz(20.1333, 13.6682, 55.5992)
Luminance0.1367 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7152C7 #A8C752
analogous
#526EC7 #7152C7 #AB52C7
triadic
#7152C7 #C77152 #52C771
tetradic
#7152C7 #C7526E #A8C752 #52C7AB
square
#7152C7 #C7526E #A8C752 #52C7AB
split-complementary
#7152C7 #C7AB52 #6EC752
monochromatic
#3C2778 #5436A6 #7152C7 #9780D6 #BDAEE5

Accessibility & contrast

On white

5.62
#7152C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#7152C7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7152C7
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7152C7#FFFFFF#000000##FFFFFF
##7152C71.005.623.735.62
#FFFFFF5.621.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069CB
Deuteranopia (green-blind)
#0A65C4
Tritanopia (blue-blind)
#596C85
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #7152c7;
/* rgb */ color: rgb(113, 82, 199);
/* oklch */ color: oklch(53.2% 0.174 291.6);
Tailwind
colors: {
  custom: {
    50: '#9f84d9',
    500: '#7152c7',
    950: '#000000',
  },
}
SCSS
$custom: #7152c7;
$custom-light: #9f84d9;
$custom-dark: #000000;
JSON
{
  "hex": "#7152c7",
  "rgb": {
    "r": 113,
    "g": 82,
    "b": 199
  },
  "hsl": {
    "h": 255.897,
    "s": 51.092,
    "l": 55.098
  },
  "oklch": {
    "l": 0.53215,
    "c": 0.17422,
    "h": 291.6
  },
  "luminance": 0.13669
}

Semantic roles & 50–950 ramp

primary
#7152C7
secondary
#C6D3A2
accent
#DB4DB5
background
#FAF8FD
surface
#F4EFFA
border
#CECAD3
text
#0F0B15
muted
#7F7C83

Preview Lab

Preview with #7152C7

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

Preview Lab → · Contrast checker → · Palette generator →

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