#B235BF#B235BF

#B235BF is a mid, highly saturated purple. Relative luminance 0.158; OKLCH L 56.9% C 0.222 H 323.8°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#B235BF
RGBrgb(178, 53, 191)
HSLhsl(294, 57%, 48%)
HSVhsv(294, 72%, 75%)
CMYKcmyk(6.8%, 72.3%, 0%, 25.1%)
CIE-LABlab(46.68, 66.59, -47.05)
CIE-LCHlch(46.68, 81.53, 324.76°)
OKLaboklab(56.94% 0.1794 -0.1312)
OKLCHoklch(56.94% 0.222 323.8)
XYZxyz(29.0363, 15.7745, 50.7955)
Luminance0.1577 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B235BF #42BF35
analogous
#6D35BF #B235BF #BF3587
triadic
#B235BF #BFB235 #35BFB2
tetradic
#B235BF #BF6D35 #42BF35 #3587BF
square
#B235BF #BF6D35 #42BF35 #3587BF
split-complementary
#B235BF #87BF35 #35BF6D
monochromatic
#591A5F #85288F #B235BF #C85FD3 #D88FE0

Accessibility & contrast

On white

5.05
#B235BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B235BF
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B235BF#FFFFFF#000000##FFFFFF
##B235BF1.005.054.155.05
#FFFFFF5.051.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065C3
Deuteranopia (green-blind)
#4E74BC
Tritanopia (blue-blind)
#B54D77
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #b235bf;
/* rgb */ color: rgb(178, 53, 191);
/* oklch */ color: oklch(56.9% 0.222 323.8);
Tailwind
colors: {
  custom: {
    50: '#cd78d3',
    500: '#b235bf',
    950: '#000000',
  },
}
SCSS
$custom: #b235bf;
$custom-light: #cd78d3;
$custom-dark: #000000;
JSON
{
  "hex": "#b235bf",
  "rgb": {
    "r": 178,
    "g": 53,
    "b": 191
  },
  "hsl": {
    "h": 294.348,
    "s": 56.557,
    "l": 47.843
  },
  "oklch": {
    "l": 0.5694,
    "c": 0.22221,
    "h": 323.8
  },
  "luminance": 0.15773
}

Semantic roles & 50–950 ramp

primary
#B235BF
secondary
#8CCA85
accent
#E04856
background
#FDF7FD
surface
#FAEEFA
border
#D3C9D3
text
#140A14
muted
#837C83

Preview Lab

Preview with #B235BF

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

Preview Lab → · Contrast checker → · Palette generator →

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