#B235B9#B235B9

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

Color values

HEX#B235B9
RGBrgb(178, 53, 185)
HSLhsl(297, 55%, 47%)
HSVhsv(297, 71%, 73%)
CMYKcmyk(3.8%, 71.4%, 0%, 27.5%)
CIE-LABlab(46.33, 65.55, -44.10)
CIE-LCHlch(46.33, 79.00, 326.07°)
OKLaboklab(56.58% 0.1795 -0.1226)
OKLCHoklch(56.58% 0.217 325.7)
XYZxyz(28.3896, 15.5158, 47.3891)
Luminance0.1551 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B235B9 #3CB935
analogous
#7035B9 #B235B9 #B9357E
triadic
#B235B9 #B9B235 #35B9B2
tetradic
#B235B9 #B97035 #3CB935 #357EB9
square
#B235B9 #B97035 #3CB935 #357EB9
split-complementary
#B235B9 #7EB935 #35B970
monochromatic
#561A5A #842789 #B235B9 #CA5BD0 #D98BDE

Accessibility & contrast

On white

5.12
#B235B9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#B235B9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B235B9
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B235B9#FFFFFF#000000##FFFFFF
##B235B91.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1264BD
Deuteranopia (green-blind)
#5273B6
Tritanopia (blue-blind)
#B64B74
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #b235b9;
/* rgb */ color: rgb(178, 53, 185);
/* oklch */ color: oklch(56.6% 0.217 325.7);
Tailwind
colors: {
  custom: {
    50: '#cd78ce',
    500: '#b235b9',
    950: '#000000',
  },
}
SCSS
$custom: #b235b9;
$custom-light: #cd78ce;
$custom-dark: #000000;
JSON
{
  "hex": "#b235b9",
  "rgb": {
    "r": 178,
    "g": 53,
    "b": 185
  },
  "hsl": {
    "h": 296.818,
    "s": 55.462,
    "l": 46.667
  },
  "oklch": {
    "l": 0.56583,
    "c": 0.21738,
    "h": 325.7
  },
  "luminance": 0.15514
}

Semantic roles & 50–950 ramp

primary
#B235B9
secondary
#86C882
accent
#DF4951
background
#FDF7FC
surface
#FAEEF9
border
#D3C9D2
text
#140A14
muted
#837C82

Preview Lab

Preview with #B235B9

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

Preview Lab → · Contrast checker → · Palette generator →

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