#B235B4#B235B4

#B235B4 is a mid, highly saturated purple. Relative luminance 0.153; OKLCH L 56.3% C 0.213 H 327.3°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#B235B4
RGBrgb(178, 53, 180)
HSLhsl(299, 55%, 46%)
HSVhsv(299, 71%, 71%)
CMYKcmyk(1.1%, 70.6%, 0%, 29.4%)
CIE-LABlab(46.05, 64.71, -41.61)
CIE-LCHlch(46.05, 76.93, 327.26°)
OKLaboklab(56.29% 0.1796 -0.1153)
OKLCHoklch(56.29% 0.213 327.3)
XYZxyz(27.8710, 15.3084, 44.6580)
Luminance0.1531 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B235B4 #37B435
analogous
#7235B4 #B235B4 #B43576
triadic
#B235B4 #B4B235 #35B4B2
tetradic
#B235B4 #B47235 #37B435 #3576B4
square
#B235B4 #B47235 #37B435 #3576B4
split-complementary
#B235B4 #76B435 #35B472
monochromatic
#541955 #832785 #B235B4 #CC58CE #DB88DC

Accessibility & contrast

On white

5.17
#B235B4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#B235B4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B235B4
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B235B4#FFFFFF#000000##FFFFFF
##B235B41.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C63B8
Deuteranopia (green-blind)
#5573B1
Tritanopia (blue-blind)
#B74871
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #b235b4;
/* rgb */ color: rgb(178, 53, 180);
/* oklch */ color: oklch(56.3% 0.213 327.3);
Tailwind
colors: {
  custom: {
    50: '#cd78cb',
    500: '#b235b4',
    950: '#000000',
  },
}
SCSS
$custom: #b235b4;
$custom-light: #cd78cb;
$custom-dark: #000000;
JSON
{
  "hex": "#b235b4",
  "rgb": {
    "r": 178,
    "g": 53,
    "b": 180
  },
  "hsl": {
    "h": 299.055,
    "s": 54.506,
    "l": 45.686
  },
  "oklch": {
    "l": 0.56293,
    "c": 0.21341,
    "h": 327.3
  },
  "luminance": 0.15306
}

Semantic roles & 50–950 ramp

primary
#B235B4
secondary
#80C67F
accent
#DE4A4C
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#140A13
muted
#837C82

Preview Lab

Preview with #B235B4

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

Preview Lab → · Contrast checker → · Palette generator →

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