#7152AA#7152AA

#7152AA is a mid, vivid violet. Relative luminance 0.124; OKLCH L 51.3% C 0.136 H 297.7°. Best body text is #FFFFFF at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#7152AA
RGBrgb(113, 82, 170)
HSLhsl(261, 35%, 49%)
HSVhsv(261, 52%, 67%)
CMYKcmyk(33.5%, 51.8%, 0%, 33.3%)
CIE-LABlab(41.92, 32.51, -42.81)
CIE-LCHlch(41.92, 53.76, 307.21°)
OKLaboklab(51.27% 0.0633 -0.1208)
OKLCHoklch(51.27% 0.136 297.7)
XYZxyz(17.0813, 12.4474, 39.5251)
Luminance0.1245 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7152AA #8BAA52
analogous
#525FAA #7152AA #9D52AA
triadic
#7152AA #AA7152 #52AA71
tetradic
#7152AA #AA525F #8BAA52 #52AA9D
square
#7152AA #AA525F #8BAA52 #52AA9D
split-complementary
#7152AA #AA9D52 #5FAA52
monochromatic
#3A2A57 #563E81 #7152AA #927ABF #B4A4D3

Accessibility & contrast

On white

6.02
#7152AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#7152AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7152AA#FFFFFF#000000##FFFFFF
##7152AA1.006.023.496.02
#FFFFFF6.021.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3263AD
Deuteranopia (green-blind)
#3A62A8
Tritanopia (blue-blind)
#656376
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #7152aa;
/* rgb */ color: rgb(113, 82, 170);
/* oklch */ color: oklch(51.3% 0.136 297.7);
Tailwind
colors: {
  custom: {
    50: '#9d83c4',
    500: '#7152aa',
    950: '#000000',
  },
}
SCSS
$custom: #7152aa;
$custom-light: #9d83c4;
$custom-dark: #000000;
JSON
{
  "hex": "#7152aa",
  "rgb": {
    "r": 113,
    "g": 82,
    "b": 170
  },
  "hsl": {
    "h": 261.136,
    "s": 34.921,
    "l": 49.412
  },
  "oklch": {
    "l": 0.51272,
    "c": 0.13642,
    "h": 297.7
  },
  "luminance": 0.12448
}

Semantic roles & 50–950 ramp

primary
#7152AA
secondary
#B2C098
accent
#CB5DA4
background
#F9F8FC
surface
#F2EFF8
border
#CCCAD1
text
#0E0B13
muted
#7E7C82

Preview Lab

Preview with #7152AA

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

Preview Lab → · Contrast checker → · Palette generator →

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