#B232CD#B232CD

#B232CD is a mid, highly saturated purple. Relative luminance 0.162; OKLCH L 57.6% C 0.237 H 319.9°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#B232CD
RGBrgb(178, 50, 205)
HSLhsl(290, 61%, 50%)
HSVhsv(290, 76%, 80%)
CMYKcmyk(13.2%, 75.6%, 0%, 19.6%)
CIE-LABlab(47.18, 70.07, -54.36)
CIE-LCHlch(47.18, 88.68, 322.19°)
OKLaboklab(57.57% 0.181 -0.1525)
OKLCHoklch(57.57% 0.237 319.9)
XYZxyz(30.5188, 16.1555, 59.2566)
Luminance0.1615 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B232CD #4DCD32
analogous
#6432CD #B232CD #CD329B
triadic
#B232CD #CDB232 #32CDB2
tetradic
#B232CD #CD6432 #4DCD32 #329BCD
square
#B232CD #CD6432 #4DCD32 #329BCD
split-complementary
#B232CD #9BCD32 #32CD64
monochromatic
#5D1A6B #87269C #B232CD #C463D9 #D794E5

Accessibility & contrast

On white

4.96
#B232CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#B232CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B232CD
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B232CD#FFFFFF#000000##FFFFFF
##B232CD1.004.964.234.96
#FFFFFF4.961.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D1
Deuteranopia (green-blind)
#4074CA
Tritanopia (blue-blind)
#B2527E
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #b232cd;
/* rgb */ color: rgb(178, 50, 205);
/* oklch */ color: oklch(57.6% 0.237 319.9);
Tailwind
colors: {
  custom: {
    50: '#cd78dd',
    500: '#b232cd',
    950: '#000000',
  },
}
SCSS
$custom: #b232cd;
$custom-light: #cd78dd;
$custom-dark: #000000;
JSON
{
  "hex": "#b232cd",
  "rgb": {
    "r": 178,
    "g": 50,
    "b": 205
  },
  "hsl": {
    "h": 289.548,
    "s": 60.784,
    "l": 50
  },
  "oklch": {
    "l": 0.57567,
    "c": 0.23671,
    "h": 319.9
  },
  "luminance": 0.16154
}

Semantic roles & 50–950 ramp

primary
#B232CD
secondary
#97D08B
accent
#E44460
background
#FDF7FD
surface
#FAEEFB
border
#D3C9D4
text
#140A15
muted
#837C83

Preview Lab

Preview with #B232CD

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

Preview Lab → · Contrast checker → · Palette generator →

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