#B235A9#B235A9

#B235A9 is a mid, highly saturated purple. Relative luminance 0.149; OKLCH L 55.7% C 0.205 H 331.0°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#B235A9
RGBrgb(178, 53, 169)
HSLhsl(304, 54%, 45%)
HSVhsv(304, 70%, 70%)
CMYKcmyk(0%, 70.2%, 5.1%, 30.2%)
CIE-LABlab(45.47, 62.91, -36.05)
CIE-LCHlch(45.47, 72.50, 330.19°)
OKLaboklab(55.68% 0.1793 -0.0992)
OKLCHoklch(55.68% 0.205 331)
XYZxyz(26.7946, 14.8778, 38.9889)
Luminance0.1488 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B235A9 #35B23E
analogous
#7C35B2 #B235A9 #B2356A
triadic
#B235A9 #A9B235 #35A9B2
tetradic
#B235A9 #B27C35 #35B23E #356AB2
square
#B235A9 #B27C35 #35B23E #356AB2
split-complementary
#B235A9 #6AB235 #35B27C
monochromatic
#54194F #83277C #B235A9 #CD57C5 #DB86D5

Accessibility & contrast

On white

5.28
#B235A9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#B235A9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B235A9
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B235A9#FFFFFF#000000##FFFFFF
##B235A91.005.283.985.28
#FFFFFF5.281.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B61AC
Deuteranopia (green-blind)
#5B72A6
Tritanopia (blue-blind)
#B9436B
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #b235a9;
/* rgb */ color: rgb(178, 53, 169);
/* oklch */ color: oklch(55.7% 0.205 331.0);
Tailwind
colors: {
  custom: {
    50: '#cd78c3',
    500: '#b235a9',
    950: '#000000',
  },
}
SCSS
$custom: #b235a9;
$custom-light: #cd78c3;
$custom-dark: #000000;
JSON
{
  "hex": "#b235a9",
  "rgb": {
    "r": 178,
    "g": 53,
    "b": 169
  },
  "hsl": {
    "h": 304.32,
    "s": 54.113,
    "l": 45.294
  },
  "oklch": {
    "l": 0.55681,
    "c": 0.20488,
    "h": 331
  },
  "luminance": 0.14876
}

Semantic roles & 50–950 ramp

primary
#B235A9
secondary
#7EC583
accent
#DD554A
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#140A12
muted
#837C81

Preview Lab

Preview with #B235A9

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

Preview Lab → · Contrast checker → · Palette generator →

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