#B235B2#B235B2

#B235B2 is a mid, highly saturated purple. Relative luminance 0.152; OKLCH L 56.2% C 0.212 H 327.9°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#B235B2
RGBrgb(178, 53, 178)
HSLhsl(300, 54%, 45%)
HSVhsv(300, 70%, 70%)
CMYKcmyk(0%, 70.2%, 0%, 30.2%)
CIE-LABlab(45.94, 64.37, -40.61)
CIE-LCHlch(45.94, 76.11, 327.76°)
OKLaboklab(56.18% 0.1795 -0.1124)
OKLCHoklch(56.18% 0.212 327.9)
XYZxyz(27.6687, 15.2275, 43.5927)
Luminance0.1523 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B235B2 #35B235
analogous
#7335B2 #B235B2 #B23573
triadic
#B235B2 #B2B235 #35B2B2
tetradic
#B235B2 #B27335 #35B235 #3573B2
square
#B235B2 #B27335 #35B235 #3573B2
split-complementary
#B235B2 #73B235 #35B273
monochromatic
#541954 #832783 #B235B2 #CD57CD #DB86DB

Accessibility & contrast

On white

5.19
#B235B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B235B2
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B235B2#FFFFFF#000000##FFFFFF
##B235B21.005.194.055.19
#FFFFFF5.191.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F62B5
Deuteranopia (green-blind)
#5672AF
Tritanopia (blue-blind)
#B84870
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #b235b2;
/* rgb */ color: rgb(178, 53, 178);
/* oklch */ color: oklch(56.2% 0.212 327.9);
Tailwind
colors: {
  custom: {
    50: '#cd78c9',
    500: '#b235b2',
    950: '#000000',
  },
}
SCSS
$custom: #b235b2;
$custom-light: #cd78c9;
$custom-dark: #000000;
JSON
{
  "hex": "#b235b2",
  "rgb": {
    "r": 178,
    "g": 53,
    "b": 178
  },
  "hsl": {
    "h": 300,
    "s": 54.113,
    "l": 45.294
  },
  "oklch": {
    "l": 0.56179,
    "c": 0.21184,
    "h": 327.9
  },
  "luminance": 0.15226
}

Semantic roles & 50–950 ramp

primary
#B235B2
secondary
#7EC57E
accent
#DD4A4A
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#140A13
muted
#837C82

Preview Lab

Preview with #B235B2

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

Preview Lab → · Contrast checker → · Palette generator →

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