#7152BB#7152BB

#7152BB is a mid, vivid violet. Relative luminance 0.131; OKLCH L 52.4% C 0.159 H 293.8°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#7152BB
RGBrgb(113, 82, 187)
HSLhsl(258, 44%, 53%)
HSVhsv(258, 56%, 73%)
CMYKcmyk(39.6%, 56.1%, 0%, 26.7%)
CIE-LABlab(42.96, 37.15, -51.13)
CIE-LCHlch(42.96, 63.20, 306.00°)
OKLaboklab(52.38% 0.0641 -0.1453)
OKLCHoklch(52.38% 0.159 293.8)
XYZxyz(18.7946, 13.1327, 48.5487)
Luminance0.1313 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7152BB #9CBB52
analogous
#5268BB #7152BB #A552BB
triadic
#7152BB #BB7152 #52BB71
tetradic
#7152BB #BB5268 #9CBB52 #52BBA5
square
#7152BB #BB5268 #9CBB52 #52BBA5
split-complementary
#7152BB #BBA552 #68BB52
monochromatic
#3C2969 #553B95 #7152BB #957ECC #B9AADE

Accessibility & contrast

On white

5.79
#7152BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#7152BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7152BB
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7152BB#FFFFFF#000000##FFFFFF
##7152BB1.005.793.635.79
#FFFFFF5.791.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D67BF
Deuteranopia (green-blind)
#2764B9
Tritanopia (blue-blind)
#5E687E
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #7152bb;
/* rgb */ color: rgb(113, 82, 187);
/* oklch */ color: oklch(52.4% 0.159 293.8);
Tailwind
colors: {
  custom: {
    50: '#9e83d0',
    500: '#7152bb',
    950: '#000000',
  },
}
SCSS
$custom: #7152bb;
$custom-light: #9e83d0;
$custom-dark: #000000;
JSON
{
  "hex": "#7152bb",
  "rgb": {
    "r": 113,
    "g": 82,
    "b": 187
  },
  "hsl": {
    "h": 257.714,
    "s": 43.568,
    "l": 52.745
  },
  "oklch": {
    "l": 0.52381,
    "c": 0.15878,
    "h": 293.8
  },
  "luminance": 0.13133
}

Semantic roles & 50–950 ramp

primary
#7152BB
secondary
#BECB9E
accent
#D354AE
background
#FAF8FC
surface
#F3EFF9
border
#CDCAD2
text
#0F0B14
muted
#7F7C82

Preview Lab

Preview with #7152BB

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

Preview Lab → · Contrast checker → · Palette generator →

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