#B452CD#B452CD

#B452CD is a mid, vivid purple. Relative luminance 0.201; OKLCH L 61.1% C 0.198 H 319.0°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#B452CD
RGBrgb(180, 82, 205)
HSLhsl(288, 55%, 56%)
HSVhsv(288, 60%, 80%)
CMYKcmyk(12.2%, 60%, 0%, 19.6%)
CIE-LABlab(52.00, 57.80, -46.63)
CIE-LCHlch(52.00, 74.27, 321.10°)
OKLaboklab(61.09% 0.1497 -0.1301)
OKLCHoklch(61.09% 0.198 319)
XYZxyz(32.8577, 20.1471, 59.9038)
Luminance0.2015 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B452CD #6BCD52
analogous
#7752CD #B452CD #CD52A9
triadic
#B452CD #CDB452 #52CDB4
tetradic
#B452CD #CD7752 #6BCD52 #52A9CD
square
#B452CD #CD7752 #6BCD52 #52A9CD
split-complementary
#B452CD #A9CD52 #52CD77
monochromatic
#6D2580 #9633AF #B452CD #C981DB #DDB1E8

Accessibility & contrast

On white

4.18
#B452CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#B452CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B452CD
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B452CD#FFFFFF#000000##000000
##B452CD1.004.185.035.03
#FFFFFF4.181.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3375D1
Deuteranopia (green-blind)
#5A7FCA
Tritanopia (blue-blind)
#B46688
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #b452cd;
/* rgb */ color: rgb(180, 82, 205);
/* oklch */ color: oklch(61.1% 0.198 319.0);
Tailwind
colors: {
  custom: {
    50: '#cd88dd',
    500: '#b452cd',
    950: '#000000',
  },
}
SCSS
$custom: #b452cd;
$custom-light: #cd88dd;
$custom-dark: #000000;
JSON
{
  "hex": "#b452cd",
  "rgb": {
    "r": 180,
    "g": 82,
    "b": 205
  },
  "hsl": {
    "h": 287.805,
    "s": 55.157,
    "l": 56.275
  },
  "oklch": {
    "l": 0.61091,
    "c": 0.19832,
    "h": 319
  },
  "luminance": 0.20146
}

Semantic roles & 50–950 ramp

primary
#B452CD
secondary
#AED7A4
accent
#DE4968
background
#FDF8FD
surface
#FAF0FB
border
#D3CBD4
text
#140C15
muted
#837D83

Preview Lab

Preview with #B452CD

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

Preview Lab → · Contrast checker → · Palette generator →

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