#B233C2#B233C2

#B233C2 is a mid, highly saturated purple. Relative luminance 0.157; OKLCH L 57.0% C 0.227 H 323.0°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#B233C2
RGBrgb(178, 51, 194)
HSLhsl(293, 58%, 48%)
HSVhsv(293, 74%, 76%)
CMYKcmyk(8.2%, 73.7%, 0%, 23.9%)
CIE-LABlab(46.62, 67.79, -48.89)
CIE-LCHlch(46.62, 83.58, 324.20°)
OKLaboklab(56.95% 0.1811 -0.1365)
OKLCHoklch(56.95% 0.227 323)
XYZxyz(29.2806, 15.7294, 52.5223)
Luminance0.1573 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B233C2 #43C233
analogous
#6B33C2 #B233C2 #C2338A
triadic
#B233C2 #C2B233 #33C2B2
tetradic
#B233C2 #C26B33 #43C233 #338AC2
square
#B233C2 #C26B33 #43C233 #338AC2
split-complementary
#B233C2 #8AC233 #33C26B
monochromatic
#591A61 #862692 #B233C2 #C75ED5 #D88EE1

Accessibility & contrast

On white

5.07
#B233C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#B233C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B233C2
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B233C2#FFFFFF#000000##FFFFFF
##B233C21.005.074.155.07
#FFFFFF5.071.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b233c2;
/* rgb */ color: rgb(178, 51, 194);
/* oklch */ color: oklch(57.0% 0.227 323.0);
Tailwind
colors: {
  custom: {
    50: '#cd78d5',
    500: '#b233c2',
    950: '#000000',
  },
}
SCSS
$custom: #b233c2;
$custom-light: #cd78d5;
$custom-dark: #000000;
JSON
{
  "hex": "#b233c2",
  "rgb": {
    "r": 178,
    "g": 51,
    "b": 194
  },
  "hsl": {
    "h": 293.287,
    "s": 58.367,
    "l": 48.039
  },
  "oklch": {
    "l": 0.56954,
    "c": 0.22676,
    "h": 323
  },
  "luminance": 0.15728
}

Semantic roles & 50–950 ramp

primary
#B233C2
secondary
#8DCC85
accent
#E24658
background
#FDF7FD
surface
#FAEEFA
border
#D3C9D3
text
#140A14
muted
#837C83

Preview Lab

Preview with #B233C2

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

Preview Lab → · Contrast checker → · Palette generator →

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