#B235A7#B235A7

#B235A7 is a mid, highly saturated purple. Relative luminance 0.148; OKLCH L 55.6% C 0.203 H 331.7°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#B235A7
RGBrgb(178, 53, 167)
HSLhsl(305, 54%, 45%)
HSVhsv(305, 70%, 70%)
CMYKcmyk(0%, 70.2%, 6.2%, 30.2%)
CIE-LABlab(45.36, 62.59, -35.02)
CIE-LCHlch(45.36, 71.72, 330.77°)
OKLaboklab(55.57% 0.1791 -0.0963)
OKLCHoklch(55.57% 0.203 331.7)
XYZxyz(26.6083, 14.8033, 38.0076)
Luminance0.1480 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B235A7 #35B240
analogous
#7E35B2 #B235A7 #B23568
triadic
#B235A7 #A7B235 #35A7B2
tetradic
#B235A7 #B27E35 #35B240 #3568B2
square
#B235A7 #B27E35 #35B240 #3568B2
split-complementary
#B235A7 #68B235 #35B27E
monochromatic
#54194F #83277B #B235A7 #CD57C3 #DB86D4

Accessibility & contrast

On white

5.30
#B235A7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#B235A7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B235A7
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B235A7#FFFFFF#000000##FFFFFF
##B235A71.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D60AA
Deuteranopia (green-blind)
#5C72A4
Tritanopia (blue-blind)
#B9426A
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #b235a7;
/* rgb */ color: rgb(178, 53, 167);
/* oklch */ color: oklch(55.6% 0.203 331.7);
Tailwind
colors: {
  custom: {
    50: '#cd78c1',
    500: '#b235a7',
    950: '#000000',
  },
}
SCSS
$custom: #b235a7;
$custom-light: #cd78c1;
$custom-dark: #000000;
JSON
{
  "hex": "#b235a7",
  "rgb": {
    "r": 178,
    "g": 53,
    "b": 167
  },
  "hsl": {
    "h": 305.28,
    "s": 54.113,
    "l": 45.294
  },
  "oklch": {
    "l": 0.55573,
    "c": 0.20336,
    "h": 331.7
  },
  "luminance": 0.14801
}

Semantic roles & 50–950 ramp

primary
#B235A7
secondary
#7EC584
accent
#DD574A
background
#FDF7FB
surface
#FAEEF7
border
#D3C9D0
text
#140A12
muted
#837C81

Preview Lab

Preview with #B235A7

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

Preview Lab → · Contrast checker → · Palette generator →

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