#7152CF#7152CF

#7152CF is a mid, vivid violet. Relative luminance 0.141; OKLCH L 53.8% C 0.184 H 290.2°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#7152CF
RGBrgb(113, 82, 207)
HSLhsl(255, 57%, 57%)
HSVhsv(255, 60%, 81%)
CMYKcmyk(45.4%, 60.4%, 0%, 18.8%)
CIE-LABlab(44.30, 42.76, -60.56)
CIE-LCHlch(44.30, 74.13, 305.22°)
OKLaboklab(53.79% 0.0638 -0.173)
OKLCHoklch(53.79% 0.184 290.2)
XYZxyz(21.0867, 14.0495, 60.6202)
Luminance0.1405 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7152CF #B0CF52
analogous
#5272CF #7152CF #B052CF
triadic
#7152CF #CF7152 #52CF71
tetradic
#7152CF #CF5272 #B0CF52 #52CFB0
square
#7152CF #CF5272 #B0CF52 #52CFB0
split-complementary
#7152CF #CFB052 #72CF52
monochromatic
#3C2482 #5131B2 #7152CF #9882DC #C0B2EA

Accessibility & contrast

On white

5.51
#7152CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#7152CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7152CF#FFFFFF#000000##FFFFFF
##7152CF1.005.513.815.51
#FFFFFF5.511.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.511.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7152cf;
/* rgb */ color: rgb(113, 82, 207);
/* oklch */ color: oklch(53.8% 0.184 290.2);
Tailwind
colors: {
  custom: {
    50: '#a084de',
    500: '#7152cf',
    950: '#000000',
  },
}
SCSS
$custom: #7152cf;
$custom-light: #a084de;
$custom-dark: #000000;
JSON
{
  "hex": "#7152cf",
  "rgb": {
    "r": 113,
    "g": 82,
    "b": 207
  },
  "hsl": {
    "h": 254.88,
    "s": 56.561,
    "l": 56.667
  },
  "oklch": {
    "l": 0.53793,
    "c": 0.18435,
    "h": 290.2
  },
  "luminance": 0.1405
}

Semantic roles & 50–950 ramp

primary
#7152CF
secondary
#CBD8A5
accent
#E048BA
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#0F0B15
muted
#7F7C83

Preview Lab

Preview with #7152CF

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

Preview Lab → · Contrast checker → · Palette generator →

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