#B235B1#B235B1

#B235B1 is a mid, highly saturated purple. Relative luminance 0.152; OKLCH L 56.1% C 0.211 H 328.3°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#B235B1
RGBrgb(178, 53, 177)
HSLhsl(300, 54%, 45%)
HSVhsv(300, 70%, 70%)
CMYKcmyk(0%, 70.2%, 0.6%, 30.2%)
CIE-LABlab(45.89, 64.21, -40.10)
CIE-LCHlch(45.89, 75.70, 328.01°)
OKLaboklab(56.12% 0.1795 -0.111)
OKLCHoklch(56.12% 0.211 328.3)
XYZxyz(27.5687, 15.1875, 43.0659)
Luminance0.1519 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B235B1 #35B236
analogous
#7435B2 #B235B1 #B23572
triadic
#B235B1 #B1B235 #35B1B2
tetradic
#B235B1 #B27435 #35B236 #3572B2
square
#B235B1 #B27435 #35B236 #3572B2
split-complementary
#B235B1 #72B235 #35B274
monochromatic
#541953 #832782 #B235B1 #CD57CC #DB86DA

Accessibility & contrast

On white

5.20
#B235B1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#B235B1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B235B1
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B235B1#FFFFFF#000000##FFFFFF
##B235B11.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2162B4
Deuteranopia (green-blind)
#5672AE
Tritanopia (blue-blind)
#B8476F
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #b235b1;
/* rgb */ color: rgb(178, 53, 177);
/* oklch */ color: oklch(56.1% 0.211 328.3);
Tailwind
colors: {
  custom: {
    50: '#cd78c9',
    500: '#b235b1',
    950: '#000000',
  },
}
SCSS
$custom: #b235b1;
$custom-light: #cd78c9;
$custom-dark: #000000;
JSON
{
  "hex": "#b235b1",
  "rgb": {
    "r": 178,
    "g": 53,
    "b": 177
  },
  "hsl": {
    "h": 300.48,
    "s": 54.113,
    "l": 45.294
  },
  "oklch": {
    "l": 0.56122,
    "c": 0.21105,
    "h": 328.3
  },
  "luminance": 0.15186
}

Semantic roles & 50–950 ramp

primary
#B235B1
secondary
#7EC57F
accent
#DD4B4A
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#140A13
muted
#837C82

Preview Lab

Preview with #B235B1

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

Preview Lab → · Contrast checker → · Palette generator →

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