#7152BF#7152BF

#7152BF is a mid, vivid violet. Relative luminance 0.133; OKLCH L 52.7% C 0.164 H 293.0°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#7152BF
RGBrgb(113, 82, 191)
HSLhsl(257, 46%, 54%)
HSVhsv(257, 57%, 75%)
CMYKcmyk(40.8%, 57.1%, 0%, 25.1%)
CIE-LABlab(43.22, 38.26, -53.05)
CIE-LCHlch(43.22, 65.41, 305.80°)
OKLaboklab(52.65% 0.0642 -0.1509)
OKLCHoklch(52.65% 0.164 293)
XYZxyz(19.2288, 13.3064, 50.8354)
Luminance0.1331 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7152BF #A0BF52
analogous
#5269BF #7152BF #A752BF
triadic
#7152BF #BF7152 #52BF71
tetradic
#7152BF #BF5269 #A0BF52 #52BFA7
square
#7152BF #BF5269 #A0BF52 #52BFA7
split-complementary
#7152BF #BFA752 #69BF52
monochromatic
#3C296E #55399B #7152BF #967FD0 #BAABE0

Accessibility & contrast

On white

5.74
#7152BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#7152BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7152BF#FFFFFF#000000##FFFFFF
##7152BF1.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1467C3
Deuteranopia (green-blind)
#2064BD
Tritanopia (blue-blind)
#5C6980
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #7152bf;
/* rgb */ color: rgb(113, 82, 191);
/* oklch */ color: oklch(52.7% 0.164 293.0);
Tailwind
colors: {
  custom: {
    50: '#9f84d3',
    500: '#7152bf',
    950: '#000000',
  },
}
SCSS
$custom: #7152bf;
$custom-light: #9f84d3;
$custom-dark: #000000;
JSON
{
  "hex": "#7152bf",
  "rgb": {
    "r": 113,
    "g": 82,
    "b": 191
  },
  "hsl": {
    "h": 257.064,
    "s": 45.992,
    "l": 53.529
  },
  "oklch": {
    "l": 0.52655,
    "c": 0.16396,
    "h": 293
  },
  "luminance": 0.13307
}

Semantic roles & 50–950 ramp

primary
#7152BF
secondary
#C0CE9F
accent
#D652B0
background
#FAF8FD
surface
#F4EFFA
border
#CECAD3
text
#0F0B14
muted
#7F7C83

Preview Lab

Preview with #7152BF

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

Preview Lab → · Contrast checker → · Palette generator →

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