#7152DA#7152DA

#7152DA is a mid, vivid violet. Relative luminance 0.146; OKLCH L 54.6% C 0.198 H 288.6°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#7152DA
RGBrgb(113, 82, 218)
HSLhsl(254, 65%, 59%)
HSVhsv(254, 62%, 85%)
CMYKcmyk(48.2%, 62.4%, 0%, 14.5%)
CIE-LABlab(45.09, 45.89, -65.59)
CIE-LCHlch(45.09, 80.04, 304.98°)
OKLaboklab(54.62% 0.063 -0.1878)
OKLCHoklch(54.62% 0.198 288.6)
XYZxyz(22.4786, 14.6063, 67.9510)
Luminance0.1461 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7152DA #BBDA52
analogous
#5277DA #7152DA #B552DA
triadic
#7152DA #DA7152 #52DA71
tetradic
#7152DA #DA5277 #BBDA52 #52DAB5
square
#7152DA #DA5277 #BBDA52 #52DAB5
split-complementary
#7152DA #DAB552 #77DA52
monochromatic
#3A1F92 #4D2AC5 #7152DA #9A84E5 #C4B7F0

Accessibility & contrast

On white

5.36
#7152DA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#7152DA on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7152DA#FFFFFF#000000##FFFFFF
##7152DA1.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EDE
Deuteranopia (green-blind)
#0067D7
Tritanopia (blue-blind)
#4E728E
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #7152da;
/* rgb */ color: rgb(113, 82, 218);
/* oklch */ color: oklch(54.6% 0.198 288.6);
Tailwind
colors: {
  custom: {
    50: '#a284e6',
    500: '#7152da',
    950: '#000000',
  },
}
SCSS
$custom: #7152da;
$custom-light: #a284e6;
$custom-dark: #000000;
JSON
{
  "hex": "#7152da",
  "rgb": {
    "r": 113,
    "g": 82,
    "b": 218
  },
  "hsl": {
    "h": 253.676,
    "s": 64.762,
    "l": 58.824
  },
  "oklch": {
    "l": 0.54615,
    "c": 0.19806,
    "h": 288.6
  },
  "luminance": 0.14607
}

Semantic roles & 50–950 ramp

primary
#7152DA
secondary
#D2DFA9
accent
#E840C2
background
#FAF8FE
surface
#F4EFFC
border
#CECAD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #7152DA

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

Preview Lab → · Contrast checker → · Palette generator →

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