#B233C1#B233C1

#B233C1 is a mid, highly saturated purple. Relative luminance 0.157; OKLCH L 56.9% C 0.226 H 323.3°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#B233C1
RGBrgb(178, 51, 193)
HSLhsl(294, 58%, 48%)
HSVhsv(294, 74%, 76%)
CMYKcmyk(7.8%, 73.6%, 0%, 24.3%)
CIE-LABlab(46.56, 67.61, -48.40)
CIE-LCHlch(46.56, 83.15, 324.40°)
OKLaboklab(56.89% 0.1811 -0.1351)
OKLCHoklch(56.89% 0.226 323.3)
XYZxyz(29.1687, 15.6846, 51.9328)
Luminance0.1568 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B233C1 #42C133
analogous
#6B33C1 #B233C1 #C13389
triadic
#B233C1 #C1B233 #33C1B2
tetradic
#B233C1 #C16B33 #42C133 #3389C1
square
#B233C1 #C16B33 #42C133 #3389C1
split-complementary
#B233C1 #89C133 #33C16B
monochromatic
#591960 #852691 #B233C1 #C85DD4 #D88DE1

Accessibility & contrast

On white

5.08
#B233C1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#B233C1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B233C1
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B233C1#FFFFFF#000000##FFFFFF
##B233C11.005.084.145.08
#FFFFFF5.081.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b233c1;
/* rgb */ color: rgb(178, 51, 193);
/* oklch */ color: oklch(56.9% 0.226 323.3);
Tailwind
colors: {
  custom: {
    50: '#cd78d4',
    500: '#b233c1',
    950: '#000000',
  },
}
SCSS
$custom: #b233c1;
$custom-light: #cd78d4;
$custom-dark: #000000;
JSON
{
  "hex": "#b233c1",
  "rgb": {
    "r": 178,
    "g": 51,
    "b": 193
  },
  "hsl": {
    "h": 293.662,
    "s": 58.197,
    "l": 47.843
  },
  "oklch": {
    "l": 0.56892,
    "c": 0.22596,
    "h": 323.3
  },
  "luminance": 0.15683
}

Semantic roles & 50–950 ramp

primary
#B233C1
secondary
#8CCB84
accent
#E14657
background
#FDF7FD
surface
#FAEEFA
border
#D3C9D3
text
#140A14
muted
#837C83

Preview Lab

Preview with #B233C1

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

Preview Lab → · Contrast checker → · Palette generator →

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