#B235B7#B235B7

#B235B7 is a mid, highly saturated purple. Relative luminance 0.154; OKLCH L 56.5% C 0.216 H 326.3°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#B235B7
RGBrgb(178, 53, 183)
HSLhsl(298, 55%, 46%)
HSVhsv(298, 71%, 72%)
CMYKcmyk(2.7%, 71%, 0%, 28.2%)
CIE-LABlab(46.22, 65.21, -43.10)
CIE-LCHlch(46.22, 78.17, 326.54°)
OKLaboklab(56.47% 0.1796 -0.1197)
OKLCHoklch(56.47% 0.216 326.3)
XYZxyz(28.1799, 15.4320, 46.2850)
Luminance0.1543 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B235B7 #3AB735
analogous
#7135B7 #B235B7 #B7357B
triadic
#B235B7 #B7B235 #35B7B2
tetradic
#B235B7 #B77135 #3AB735 #357BB7
square
#B235B7 #B77135 #3AB735 #357BB7
split-complementary
#B235B7 #7BB735 #35B771
monochromatic
#561A58 #842788 #B235B7 #CB5ACF #DA89DD

Accessibility & contrast

On white

5.14
#B235B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B235B7
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B235B7#FFFFFF#000000##FFFFFF
##B235B71.005.144.095.14
#FFFFFF5.141.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1663BB
Deuteranopia (green-blind)
#5373B4
Tritanopia (blue-blind)
#B74A73
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #b235b7;
/* rgb */ color: rgb(178, 53, 183);
/* oklch */ color: oklch(56.5% 0.216 326.3);
Tailwind
colors: {
  custom: {
    50: '#cd78cd',
    500: '#b235b7',
    950: '#000000',
  },
}
SCSS
$custom: #b235b7;
$custom-light: #cd78cd;
$custom-dark: #000000;
JSON
{
  "hex": "#b235b7",
  "rgb": {
    "r": 178,
    "g": 53,
    "b": 183
  },
  "hsl": {
    "h": 297.692,
    "s": 55.085,
    "l": 46.275
  },
  "oklch": {
    "l": 0.56466,
    "c": 0.21579,
    "h": 326.3
  },
  "luminance": 0.1543
}

Semantic roles & 50–950 ramp

primary
#B235B7
secondary
#83C781
accent
#DE494F
background
#FDF7FC
surface
#FAEEF9
border
#D3C9D2
text
#140A13
muted
#837C82

Preview Lab

Preview with #B235B7

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

Preview Lab → · Contrast checker → · Palette generator →

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