#B452CA#B452CA

#B452CA is a mid, vivid purple. Relative luminance 0.200; OKLCH L 60.9% C 0.195 H 319.9°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#B452CA
RGBrgb(180, 82, 202)
HSLhsl(289, 53%, 56%)
HSVhsv(289, 59%, 79%)
CMYKcmyk(10.9%, 59.4%, 0%, 20.8%)
CIE-LABlab(51.84, 57.21, -45.17)
CIE-LCHlch(51.84, 72.90, 321.71°)
OKLaboklab(60.92% 0.1496 -0.1258)
OKLCHoklch(60.92% 0.195 319.9)
XYZxyz(32.4990, 20.0036, 58.0149)
Luminance0.2000 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B452CA #68CA52
analogous
#7852CA #B452CA #CA52A4
triadic
#B452CA #CAB452 #52CAB4
tetradic
#B452CA #CA7852 #68CA52 #52A4CA
square
#B452CA #CA7852 #68CA52 #52A4CA
split-complementary
#B452CA #A4CA52 #52CA78
monochromatic
#6C267C #9534AB #B452CA #C881D8 #DDB0E7

Accessibility & contrast

On white

4.20
#B452CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#B452CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B452CA
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B452CA#FFFFFF#000000##000000
##B452CA1.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3675CE
Deuteranopia (green-blind)
#5B7FC7
Tritanopia (blue-blind)
#B56586
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #b452ca;
/* rgb */ color: rgb(180, 82, 202);
/* oklch */ color: oklch(60.9% 0.195 319.9);
Tailwind
colors: {
  custom: {
    50: '#cd88da',
    500: '#b452ca',
    950: '#000000',
  },
}
SCSS
$custom: #b452ca;
$custom-light: #cd88da;
$custom-dark: #000000;
JSON
{
  "hex": "#b452ca",
  "rgb": {
    "r": 180,
    "g": 82,
    "b": 202
  },
  "hsl": {
    "h": 289,
    "s": 53.097,
    "l": 55.686
  },
  "oklch": {
    "l": 0.60921,
    "c": 0.19546,
    "h": 319.9
  },
  "luminance": 0.20002
}

Semantic roles & 50–950 ramp

primary
#B452CA
secondary
#ACD5A3
accent
#DD4B66
background
#FCF8FD
surface
#F9F0FB
border
#D2CBD4
text
#140C15
muted
#827D83

Preview Lab

Preview with #B452CA

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

Preview Lab → · Contrast checker → · Palette generator →

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