#7152A4#7152A4

#7152A4 is a mid, vivid violet. Relative luminance 0.122; OKLCH L 50.9% C 0.128 H 299.3°. Best body text is #FFFFFF at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#7152A4
RGBrgb(113, 82, 164)
HSLhsl(263, 33%, 48%)
HSVhsv(263, 50%, 64%)
CMYKcmyk(31.1%, 50%, 0%, 35.7%)
CIE-LABlab(41.57, 30.92, -39.80)
CIE-LCHlch(41.57, 50.40, 307.84°)
OKLaboklab(50.9% 0.0628 -0.112)
OKLCHoklch(50.9% 0.128 299.3)
XYZxyz(16.5266, 12.2255, 36.6038)
Luminance0.1223 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7152A4 #85A452
analogous
#525CA4 #7152A4 #9A52A4
triadic
#7152A4 #A47152 #52A471
tetradic
#7152A4 #A4525C #85A452 #52A49A
square
#7152A4 #A4525C #85A452 #52A49A
split-complementary
#7152A4 #A49A52 #5CA452
monochromatic
#392952 #553E7B #7152A4 #9178BB #B2A1D0

Accessibility & contrast

On white

6.10
#7152A4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#7152A4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7152A4#FFFFFF#000000##FFFFFF
##7152A41.006.103.456.10
#FFFFFF6.101.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3762A7
Deuteranopia (green-blind)
#3E61A2
Tritanopia (blue-blind)
#676173
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #7152a4;
/* rgb */ color: rgb(113, 82, 164);
/* oklch */ color: oklch(50.9% 0.128 299.3);
Tailwind
colors: {
  custom: {
    50: '#9c83bf',
    500: '#7152a4',
    950: '#000000',
  },
}
SCSS
$custom: #7152a4;
$custom-light: #9c83bf;
$custom-dark: #000000;
JSON
{
  "hex": "#7152a4",
  "rgb": {
    "r": 113,
    "g": 82,
    "b": 164
  },
  "hsl": {
    "h": 262.683,
    "s": 33.333,
    "l": 48.235
  },
  "oklch": {
    "l": 0.50902,
    "c": 0.12842,
    "h": 299.3
  },
  "luminance": 0.12226
}

Semantic roles & 50–950 ramp

primary
#7152A4
secondary
#AEBD95
accent
#C95EA1
background
#F9F8FB
surface
#F2EFF7
border
#CCCAD0
text
#0E0B12
muted
#7E7C81

Preview Lab

Preview with #7152A4

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

Preview Lab → · Contrast checker → · Palette generator →

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