#B235AB#B235AB

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

Color values

HEX#B235AB
RGBrgb(178, 53, 171)
HSLhsl(303, 54%, 45%)
HSVhsv(303, 70%, 70%)
CMYKcmyk(0%, 70.2%, 3.9%, 30.2%)
CIE-LABlab(45.57, 63.23, -37.07)
CIE-LCHlch(45.57, 73.29, 329.62°)
OKLaboklab(55.79% 0.1794 -0.1022)
OKLCHoklch(55.79% 0.206 330.3)
XYZxyz(26.9838, 14.9535, 39.9853)
Luminance0.1495 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B235AB #35B23C
analogous
#7A35B2 #B235AB #B2356C
triadic
#B235AB #ABB235 #35ABB2
tetradic
#B235AB #B27A35 #35B23C #356CB2
square
#B235AB #B27A35 #35B23C #356CB2
split-complementary
#B235AB #6CB235 #35B27A
monochromatic
#541950 #83277E #B235AB #CD57C6 #DB86D6

Accessibility & contrast

On white

5.26
#B235AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#B235AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B235AB
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B235AB#FFFFFF#000000##FFFFFF
##B235AB1.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2961AE
Deuteranopia (green-blind)
#5A72A8
Tritanopia (blue-blind)
#B9446C
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #b235ab;
/* rgb */ color: rgb(178, 53, 171);
/* oklch */ color: oklch(55.8% 0.206 330.3);
Tailwind
colors: {
  custom: {
    50: '#cd78c4',
    500: '#b235ab',
    950: '#000000',
  },
}
SCSS
$custom: #b235ab;
$custom-light: #cd78c4;
$custom-dark: #000000;
JSON
{
  "hex": "#b235ab",
  "rgb": {
    "r": 178,
    "g": 53,
    "b": 171
  },
  "hsl": {
    "h": 303.36,
    "s": 54.113,
    "l": 45.294
  },
  "oklch": {
    "l": 0.55789,
    "c": 0.20641,
    "h": 330.3
  },
  "luminance": 0.14951
}

Semantic roles & 50–950 ramp

primary
#B235AB
secondary
#7EC582
accent
#DD534A
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#140A13
muted
#837C82

Preview Lab

Preview with #B235AB

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

Preview Lab → · Contrast checker → · Palette generator →

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