#B232C2#B232C2

#B232C2 is a mid, highly saturated purple. Relative luminance 0.156; OKLCH L 56.9% C 0.228 H 323.0°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#B232C2
RGBrgb(178, 50, 194)
HSLhsl(293, 59%, 48%)
HSVhsv(293, 74%, 76%)
CMYKcmyk(8.2%, 74.2%, 0%, 23.9%)
CIE-LABlab(46.50, 68.12, -49.08)
CIE-LCHlch(46.50, 83.95, 324.23°)
OKLaboklab(56.87% 0.182 -0.1371)
OKLCHoklch(56.87% 0.228 323)
XYZxyz(29.2374, 15.6430, 52.5079)
Luminance0.1564 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B232C2 #42C232
analogous
#6A32C2 #B232C2 #C2328A
triadic
#B232C2 #C2B232 #32C2B2
tetradic
#B232C2 #C26A32 #42C232 #328AC2
square
#B232C2 #C26A32 #42C232 #328AC2
split-complementary
#B232C2 #8AC232 #32C26A
monochromatic
#591961 #852591 #B232C2 #C85CD5 #D88DE2

Accessibility & contrast

On white

5.09
#B232C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#B232C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B232C2
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B232C2#FFFFFF#000000##FFFFFF
##B232C21.005.094.135.09
#FFFFFF5.091.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065C6
Deuteranopia (green-blind)
#4A73BF
Tritanopia (blue-blind)
#B54D78
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #b232c2;
/* rgb */ color: rgb(178, 50, 194);
/* oklch */ color: oklch(56.9% 0.228 323.0);
Tailwind
colors: {
  custom: {
    50: '#cd77d5',
    500: '#b232c2',
    950: '#000000',
  },
}
SCSS
$custom: #b232c2;
$custom-light: #cd77d5;
$custom-dark: #000000;
JSON
{
  "hex": "#b232c2",
  "rgb": {
    "r": 178,
    "g": 50,
    "b": 194
  },
  "hsl": {
    "h": 293.333,
    "s": 59.016,
    "l": 47.843
  },
  "oklch": {
    "l": 0.56872,
    "c": 0.2278,
    "h": 323
  },
  "luminance": 0.15641
}

Semantic roles & 50–950 ramp

primary
#B232C2
secondary
#8CCC84
accent
#E24657
background
#FDF7FD
surface
#FAEEFA
border
#D3C9D3
text
#140A14
muted
#837C83

Preview Lab

Preview with #B232C2

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

Preview Lab → · Contrast checker → · Palette generator →

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