#7152AE#7152AE

#7152AE is a mid, vivid violet. Relative luminance 0.126; OKLCH L 51.5% C 0.142 H 296.7°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#7152AE
RGBrgb(113, 82, 174)
HSLhsl(260, 36%, 50%)
HSVhsv(260, 53%, 68%)
CMYKcmyk(35.1%, 52.9%, 0%, 31.8%)
CIE-LABlab(42.16, 33.59, -44.80)
CIE-LCHlch(42.16, 55.99, 306.86°)
OKLaboklab(51.53% 0.0636 -0.1267)
OKLCHoklch(51.53% 0.142 296.7)
XYZxyz(17.4654, 12.6010, 41.5483)
Luminance0.1260 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7152AE #8FAE52
analogous
#5261AE #7152AE #9F52AE
triadic
#7152AE #AE7152 #52AE71
tetradic
#7152AE #AE5261 #8FAE52 #52AE9F
square
#7152AE #AE5261 #8FAE52 #52AE9F
split-complementary
#7152AE #AE9F52 #61AE52
monochromatic
#3B2B5B #563E85 #7152AE #937CC2 #B5A5D5

Accessibility & contrast

On white

5.97
#7152AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#7152AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7152AE
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7152AE#FFFFFF#000000##FFFFFF
##7152AE1.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E64B1
Deuteranopia (green-blind)
#3662AC
Tritanopia (blue-blind)
#636478
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #7152ae;
/* rgb */ color: rgb(113, 82, 174);
/* oklch */ color: oklch(51.5% 0.142 296.7);
Tailwind
colors: {
  custom: {
    50: '#9d83c7',
    500: '#7152ae',
    950: '#000000',
  },
}
SCSS
$custom: #7152ae;
$custom-light: #9d83c7;
$custom-dark: #000000;
JSON
{
  "hex": "#7152ae",
  "rgb": {
    "r": 113,
    "g": 82,
    "b": 174
  },
  "hsl": {
    "h": 260.217,
    "s": 36.22,
    "l": 50.196
  },
  "oklch": {
    "l": 0.51525,
    "c": 0.14173,
    "h": 296.7
  },
  "luminance": 0.12601
}

Semantic roles & 50–950 ramp

primary
#7152AE
secondary
#B5C299
accent
#CC5CA6
background
#F9F8FC
surface
#F2EFF8
border
#CCCAD1
text
#0F0B13
muted
#7E7C82

Preview Lab

Preview with #7152AE

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

Preview Lab → · Contrast checker → · Palette generator →

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