#B452CE#B452CE

#B452CE is a mid, vivid purple. Relative luminance 0.202; OKLCH L 61.1% C 0.199 H 318.7°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#B452CE
RGBrgb(180, 82, 206)
HSLhsl(287, 56%, 56%)
HSVhsv(287, 60%, 81%)
CMYKcmyk(12.6%, 60.2%, 0%, 19.2%)
CIE-LABlab(52.06, 57.99, -47.12)
CIE-LCHlch(52.06, 74.72, 320.91°)
OKLaboklab(61.15% 0.1497 -0.1315)
OKLCHoklch(61.15% 0.199 318.7)
XYZxyz(32.9788, 20.1955, 60.5415)
Luminance0.2019 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B452CE #6CCE52
analogous
#7652CE #B452CE #CE52AA
triadic
#B452CE #CEB452 #52CEB4
tetradic
#B452CE #CE7652 #6CCE52 #52AACE
square
#B452CE #CE7652 #6CCE52 #52AACE
split-complementary
#B452CE #AACE52 #52CE76
monochromatic
#6E2581 #9632B1 #B452CE #C982DC #DDB1E9

Accessibility & contrast

On white

4.17
#B452CE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#B452CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B452CE
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B452CE#FFFFFF#000000##000000
##B452CE1.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3276D2
Deuteranopia (green-blind)
#597FCB
Tritanopia (blue-blind)
#B46688
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #b452ce;
/* rgb */ color: rgb(180, 82, 206);
/* oklch */ color: oklch(61.1% 0.199 318.7);
Tailwind
colors: {
  custom: {
    50: '#cd88dd',
    500: '#b452ce',
    950: '#000000',
  },
}
SCSS
$custom: #b452ce;
$custom-light: #cd88dd;
$custom-dark: #000000;
JSON
{
  "hex": "#b452ce",
  "rgb": {
    "r": 180,
    "g": 82,
    "b": 206
  },
  "hsl": {
    "h": 287.419,
    "s": 55.856,
    "l": 56.471
  },
  "oklch": {
    "l": 0.61148,
    "c": 0.19928,
    "h": 318.7
  },
  "luminance": 0.20194
}

Semantic roles & 50–950 ramp

primary
#B452CE
secondary
#AFD7A4
accent
#DF4968
background
#FDF8FD
surface
#FAF0FB
border
#D3CBD4
text
#140C15
muted
#837D83

Preview Lab

Preview with #B452CE

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

Preview Lab → · Contrast checker → · Palette generator →

#B452CE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva