#B235BA#B235BA

#B235BA is a mid, highly saturated purple. Relative luminance 0.156; OKLCH L 56.6% C 0.218 H 325.4°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#B235BA
RGBrgb(178, 53, 186)
HSLhsl(296, 56%, 47%)
HSVhsv(296, 72%, 73%)
CMYKcmyk(4.3%, 71.5%, 0%, 27.1%)
CIE-LABlab(46.39, 65.72, -44.59)
CIE-LCHlch(46.39, 79.42, 325.84°)
OKLaboklab(56.64% 0.1795 -0.124)
OKLCHoklch(56.64% 0.218 325.4)
XYZxyz(28.4955, 15.5582, 47.9470)
Luminance0.1556 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B235BA #3DBA35
analogous
#7035BA #B235BA #BA3580
triadic
#B235BA #BAB235 #35BAB2
tetradic
#B235BA #BA7035 #3DBA35 #3580BA
square
#B235BA #BA7035 #3DBA35 #3580BA
split-complementary
#B235BA #80BA35 #35BA70
monochromatic
#571A5B #84278A #B235BA #C95CD0 #D98BDE

Accessibility & contrast

On white

5.11
#B235BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#B235BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B235BA
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B235BA#FFFFFF#000000##FFFFFF
##B235BA1.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F64BE
Deuteranopia (green-blind)
#5173B7
Tritanopia (blue-blind)
#B64B74
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #b235ba;
/* rgb */ color: rgb(178, 53, 186);
/* oklch */ color: oklch(56.6% 0.218 325.4);
Tailwind
colors: {
  custom: {
    50: '#cd78cf',
    500: '#b235ba',
    950: '#000000',
  },
}
SCSS
$custom: #b235ba;
$custom-light: #cd78cf;
$custom-dark: #000000;
JSON
{
  "hex": "#b235ba",
  "rgb": {
    "r": 178,
    "g": 53,
    "b": 186
  },
  "hsl": {
    "h": 296.391,
    "s": 55.649,
    "l": 46.863
  },
  "oklch": {
    "l": 0.56641,
    "c": 0.21819,
    "h": 325.4
  },
  "luminance": 0.15556
}

Semantic roles & 50–950 ramp

primary
#B235BA
secondary
#87C882
accent
#DF4952
background
#FDF7FC
surface
#FAEEF9
border
#D3C9D2
text
#140A14
muted
#837C82

Preview Lab

Preview with #B235BA

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

Preview Lab → · Contrast checker → · Palette generator →

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