#B235AC#B235AC

#B235AC is a mid, highly saturated purple. Relative luminance 0.150; OKLCH L 55.8% C 0.207 H 330.0°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#B235AC
RGBrgb(178, 53, 172)
HSLhsl(303, 54%, 45%)
HSVhsv(303, 70%, 70%)
CMYKcmyk(0%, 70.2%, 3.4%, 30.2%)
CIE-LABlab(45.62, 63.39, -37.57)
CIE-LCHlch(45.62, 73.69, 329.34°)
OKLaboklab(55.84% 0.1794 -0.1036)
OKLCHoklch(55.84% 0.207 330)
XYZxyz(27.0794, 14.9918, 40.4892)
Luminance0.1499 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B235AC #35B23B
analogous
#7935B2 #B235AC #B2356D
triadic
#B235AC #ACB235 #35ACB2
tetradic
#B235AC #B27935 #35B23B #356DB2
square
#B235AC #B27935 #35B23B #356DB2
split-complementary
#B235AC #6DB235 #35B279
monochromatic
#541951 #83277E #B235AC #CD57C7 #DB86D7

Accessibility & contrast

On white

5.25
#B235AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#B235AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B235AC
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B235AC#FFFFFF#000000##FFFFFF
##B235AC1.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2861AF
Deuteranopia (green-blind)
#5972A9
Tritanopia (blue-blind)
#B9456D
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #b235ac;
/* rgb */ color: rgb(178, 53, 172);
/* oklch */ color: oklch(55.8% 0.207 330.0);
Tailwind
colors: {
  custom: {
    50: '#cd78c5',
    500: '#b235ac',
    950: '#000000',
  },
}
SCSS
$custom: #b235ac;
$custom-light: #cd78c5;
$custom-dark: #000000;
JSON
{
  "hex": "#b235ac",
  "rgb": {
    "r": 178,
    "g": 53,
    "b": 172
  },
  "hsl": {
    "h": 302.88,
    "s": 54.113,
    "l": 45.294
  },
  "oklch": {
    "l": 0.55844,
    "c": 0.20718,
    "h": 330
  },
  "luminance": 0.1499
}

Semantic roles & 50–950 ramp

primary
#B235AC
secondary
#7EC581
accent
#DD514A
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#140A13
muted
#837C82

Preview Lab

Preview with #B235AC

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

Preview Lab → · Contrast checker → · Palette generator →

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