#7152D0#7152D0

#7152D0 is a mid, vivid violet. Relative luminance 0.141; OKLCH L 53.9% C 0.186 H 290.1°. Best body text is #FFFFFF at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#7152D0
RGBrgb(113, 82, 208)
HSLhsl(255, 57%, 57%)
HSVhsv(255, 61%, 82%)
CMYKcmyk(45.7%, 60.6%, 0%, 18.4%)
CIE-LABlab(44.37, 43.04, -61.02)
CIE-LCHlch(44.37, 74.67, 305.20°)
OKLaboklab(53.87% 0.0637 -0.1743)
OKLCHoklch(53.87% 0.186 290.1)
XYZxyz(21.2093, 14.0986, 61.2661)
Luminance0.1410 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7152D0 #B1D052
analogous
#5272D0 #7152D0 #B052D0
triadic
#7152D0 #D07152 #52D071
tetradic
#7152D0 #D05272 #B1D052 #52D0B0
square
#7152D0 #D05272 #B1D052 #52D0B0
split-complementary
#7152D0 #D0B052 #72D052
monochromatic
#3B2484 #5131B4 #7152D0 #9982DD #C0B2EA

Accessibility & contrast

On white

5.50
#7152D0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#7152D0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7152D0#FFFFFF#000000##FFFFFF
##7152D01.005.503.825.50
#FFFFFF5.501.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD4
Deuteranopia (green-blind)
#0066CD
Tritanopia (blue-blind)
#546F89
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #7152d0;
/* rgb */ color: rgb(113, 82, 208);
/* oklch */ color: oklch(53.9% 0.186 290.1);
Tailwind
colors: {
  custom: {
    50: '#a084df',
    500: '#7152d0',
    950: '#000000',
  },
}
SCSS
$custom: #7152d0;
$custom-light: #a084df;
$custom-dark: #000000;
JSON
{
  "hex": "#7152d0",
  "rgb": {
    "r": 113,
    "g": 82,
    "b": 208
  },
  "hsl": {
    "h": 254.762,
    "s": 57.273,
    "l": 56.863
  },
  "oklch": {
    "l": 0.53867,
    "c": 0.1856,
    "h": 290.1
  },
  "luminance": 0.14099
}

Semantic roles & 50–950 ramp

primary
#7152D0
secondary
#CCD9A5
accent
#E147BB
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#0F0B15
muted
#7F7C83

Preview Lab

Preview with #7152D0

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

Preview Lab → · Contrast checker → · Palette generator →

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