#B235B8#B235B8

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

Color values

HEX#B235B8
RGBrgb(178, 53, 184)
HSLhsl(297, 55%, 46%)
HSVhsv(297, 71%, 72%)
CMYKcmyk(3.3%, 71.2%, 0%, 27.8%)
CIE-LABlab(46.28, 65.38, -43.60)
CIE-LCHlch(46.28, 78.59, 326.30°)
OKLaboklab(56.52% 0.1795 -0.1211)
OKLCHoklch(56.52% 0.217 326)
XYZxyz(28.2844, 15.4738, 46.8351)
Luminance0.1547 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B235B8 #3BB835
analogous
#7135B8 #B235B8 #B8357D
triadic
#B235B8 #B8B235 #35B8B2
tetradic
#B235B8 #B87135 #3BB835 #357DB8
square
#B235B8 #B87135 #3BB835 #357DB8
split-complementary
#B235B8 #7DB835 #35B871
monochromatic
#561A59 #842788 #B235B8 #CA5BD0 #DA8ADD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B235B8#FFFFFF#000000##FFFFFF
##B235B81.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)
#1464BC
Deuteranopia (green-blind)
#5273B5
Tritanopia (blue-blind)
#B64A73
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #b235b8;
/* rgb */ color: rgb(178, 53, 184);
/* oklch */ color: oklch(56.5% 0.217 326.0);
Tailwind
colors: {
  custom: {
    50: '#cd78ce',
    500: '#b235b8',
    950: '#000000',
  },
}
SCSS
$custom: #b235b8;
$custom-light: #cd78ce;
$custom-dark: #000000;
JSON
{
  "hex": "#b235b8",
  "rgb": {
    "r": 178,
    "g": 53,
    "b": 184
  },
  "hsl": {
    "h": 297.252,
    "s": 55.274,
    "l": 46.471
  },
  "oklch": {
    "l": 0.56524,
    "c": 0.21658,
    "h": 326
  },
  "luminance": 0.15472
}

Semantic roles & 50–950 ramp

primary
#B235B8
secondary
#85C781
accent
#DF4950
background
#FDF7FC
surface
#FAEEF9
border
#D3C9D2
text
#140A13
muted
#837C82

Preview Lab

Preview with #B235B8

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

Preview Lab → · Contrast checker → · Palette generator →

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