#B231C0#B231C0

#B231C0 is a mid, highly saturated purple. Relative luminance 0.155; OKLCH L 56.7% C 0.227 H 323.6°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#B231C0
RGBrgb(178, 49, 192)
HSLhsl(294, 59%, 47%)
HSVhsv(294, 74%, 75%)
CMYKcmyk(7.3%, 74.5%, 0%, 24.7%)
CIE-LABlab(46.27, 68.09, -48.28)
CIE-LCHlch(46.27, 83.47, 324.66°)
OKLaboklab(56.67% 0.183 -0.1347)
OKLCHoklch(56.67% 0.227 323.6)
XYZxyz(28.9720, 15.4692, 51.3188)
Luminance0.1547 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B231C0 #3FC031
analogous
#6B31C0 #B231C0 #C03186
triadic
#B231C0 #C0B231 #31C0B2
tetradic
#B231C0 #C06B31 #3FC031 #3186C0
square
#B231C0 #C06B31 #3FC031 #3186C0
split-complementary
#B231C0 #86C031 #31C06B
monochromatic
#58185E #85258F #B231C0 #C959D5 #D98AE1

Accessibility & contrast

On white

5.13
#B231C0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#B231C0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B231C0
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B231C0#FFFFFF#000000##FFFFFF
##B231C01.005.134.095.13
#FFFFFF5.131.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064C4
Deuteranopia (green-blind)
#4B73BD
Tritanopia (blue-blind)
#B54C77
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #b231c0;
/* rgb */ color: rgb(178, 49, 192);
/* oklch */ color: oklch(56.7% 0.227 323.6);
Tailwind
colors: {
  custom: {
    50: '#cd77d4',
    500: '#b231c0',
    950: '#000000',
  },
}
SCSS
$custom: #b231c0;
$custom-light: #cd77d4;
$custom-dark: #000000;
JSON
{
  "hex": "#b231c0",
  "rgb": {
    "r": 178,
    "g": 49,
    "b": 192
  },
  "hsl": {
    "h": 294.126,
    "s": 59.336,
    "l": 47.255
  },
  "oklch": {
    "l": 0.56668,
    "c": 0.22723,
    "h": 323.6
  },
  "luminance": 0.15467
}

Semantic roles & 50–950 ramp

primary
#B231C0
secondary
#89CB82
accent
#E34555
background
#FDF7FD
surface
#FAEEFA
border
#D3C9D3
text
#140A14
muted
#837C83

Preview Lab

Preview with #B231C0

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

Preview Lab → · Contrast checker → · Palette generator →

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