#B235B3#B235B3

#B235B3 is a mid, highly saturated purple. Relative luminance 0.153; OKLCH L 56.2% C 0.213 H 327.6°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#B235B3
RGBrgb(178, 53, 179)
HSLhsl(300, 54%, 45%)
HSVhsv(300, 70%, 70%)
CMYKcmyk(0.6%, 70.4%, 0%, 29.8%)
CIE-LABlab(46.00, 64.54, -41.11)
CIE-LCHlch(46.00, 76.52, 327.51°)
OKLaboklab(56.24% 0.1796 -0.1139)
OKLCHoklch(56.24% 0.213 327.6)
XYZxyz(27.7695, 15.2678, 44.1234)
Luminance0.1527 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B235B3 #36B335
analogous
#7335B3 #B235B3 #B33575
triadic
#B235B3 #B3B235 #35B3B2
tetradic
#B235B3 #B37335 #36B335 #3575B3
square
#B235B3 #B37335 #36B335 #3575B3
split-complementary
#B235B3 #75B335 #35B373
monochromatic
#541955 #832784 #B235B3 #CD58CD #DB87DB

Accessibility & contrast

On white

5.18
#B235B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#B235B3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B235B3
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B235B3#FFFFFF#000000##FFFFFF
##B235B31.005.184.055.18
#FFFFFF5.181.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E63B7
Deuteranopia (green-blind)
#5573B0
Tritanopia (blue-blind)
#B74871
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #b235b3;
/* rgb */ color: rgb(178, 53, 179);
/* oklch */ color: oklch(56.2% 0.213 327.6);
Tailwind
colors: {
  custom: {
    50: '#cd78ca',
    500: '#b235b3',
    950: '#000000',
  },
}
SCSS
$custom: #b235b3;
$custom-light: #cd78ca;
$custom-dark: #000000;
JSON
{
  "hex": "#b235b3",
  "rgb": {
    "r": 178,
    "g": 53,
    "b": 179
  },
  "hsl": {
    "h": 299.524,
    "s": 54.31,
    "l": 45.49
  },
  "oklch": {
    "l": 0.56236,
    "c": 0.21263,
    "h": 327.6
  },
  "luminance": 0.15266
}

Semantic roles & 50–950 ramp

primary
#B235B3
secondary
#7FC57F
accent
#DE4A4B
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#140A13
muted
#837C82

Preview Lab

Preview with #B235B3

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

Preview Lab → · Contrast checker → · Palette generator →

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