#B231D0#B231D0

#B231D0 is a mid, highly saturated purple. Relative luminance 0.162; OKLCH L 57.7% C 0.240 H 319.1°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#B231D0
RGBrgb(178, 49, 208)
HSLhsl(289, 63%, 50%)
HSVhsv(289, 76%, 82%)
CMYKcmyk(14.4%, 76.4%, 0%, 18.4%)
CIE-LABlab(47.26, 70.92, -55.96)
CIE-LCHlch(47.26, 90.34, 321.73°)
OKLaboklab(57.68% 0.1815 -0.1572)
OKLCHoklch(57.68% 0.24 319.1)
XYZxyz(30.8421, 16.2172, 61.1679)
Luminance0.1622 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B231D0 #4FD031
analogous
#6231D0 #B231D0 #D0319F
triadic
#B231D0 #D0B231 #31D0B2
tetradic
#B231D0 #D06231 #4FD031 #319FD0
square
#B231D0 #D06231 #4FD031 #319FD0
split-complementary
#B231D0 #9FD031 #31D062
monochromatic
#5E196E #88249F #B231D0 #C563DB #D795E7

Accessibility & contrast

On white

4.95
#B231D0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#B231D0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B231D0
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B231D0#FFFFFF#000000##FFFFFF
##B231D01.004.954.244.95
#FFFFFF4.951.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D4
Deuteranopia (green-blind)
#3D74CD
Tritanopia (blue-blind)
#B25380
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #b231d0;
/* rgb */ color: rgb(178, 49, 208);
/* oklch */ color: oklch(57.7% 0.240 319.1);
Tailwind
colors: {
  custom: {
    50: '#cd77df',
    500: '#b231d0',
    950: '#000000',
  },
}
SCSS
$custom: #b231d0;
$custom-light: #cd77df;
$custom-dark: #000000;
JSON
{
  "hex": "#b231d0",
  "rgb": {
    "r": 178,
    "g": 49,
    "b": 208
  },
  "hsl": {
    "h": 288.679,
    "s": 62.846,
    "l": 50.392
  },
  "oklch": {
    "l": 0.57685,
    "c": 0.24012,
    "h": 319.1
  },
  "luminance": 0.16216
}

Semantic roles & 50–950 ramp

primary
#B231D0
secondary
#98D28B
accent
#E64261
background
#FDF7FD
surface
#FAEEFB
border
#D3C9D4
text
#140A15
muted
#837C83

Preview Lab

Preview with #B231D0

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

Preview Lab → · Contrast checker → · Palette generator →

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