#B235B5#B235B5

#B235B5 is a mid, highly saturated purple. Relative luminance 0.153; OKLCH L 56.4% C 0.214 H 327.0°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#B235B5
RGBrgb(178, 53, 181)
HSLhsl(299, 55%, 46%)
HSVhsv(299, 71%, 71%)
CMYKcmyk(1.7%, 70.7%, 0%, 29%)
CIE-LABlab(46.11, 64.88, -42.11)
CIE-LCHlch(46.11, 77.34, 327.01°)
OKLaboklab(56.35% 0.1796 -0.1168)
OKLCHoklch(56.35% 0.214 327)
XYZxyz(27.9732, 15.3493, 45.1965)
Luminance0.1535 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B235B5 #38B535
analogous
#7235B5 #B235B5 #B53578
triadic
#B235B5 #B5B235 #35B5B2
tetradic
#B235B5 #B57235 #38B535 #3578B5
square
#B235B5 #B57235 #38B535 #3578B5
split-complementary
#B235B5 #78B535 #35B572
monochromatic
#551956 #832786 #B235B5 #CC59CE #DA88DC

Accessibility & contrast

On white

5.16
#B235B5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#B235B5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B235B5
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B235B5#FFFFFF#000000##FFFFFF
##B235B51.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A63B9
Deuteranopia (green-blind)
#5473B2
Tritanopia (blue-blind)
#B74972
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #b235b5;
/* rgb */ color: rgb(178, 53, 181);
/* oklch */ color: oklch(56.4% 0.214 327.0);
Tailwind
colors: {
  custom: {
    50: '#cd78cc',
    500: '#b235b5',
    950: '#000000',
  },
}
SCSS
$custom: #b235b5;
$custom-light: #cd78cc;
$custom-dark: #000000;
JSON
{
  "hex": "#b235b5",
  "rgb": {
    "r": 178,
    "g": 53,
    "b": 181
  },
  "hsl": {
    "h": 298.594,
    "s": 54.701,
    "l": 45.882
  },
  "oklch": {
    "l": 0.5635,
    "c": 0.2142,
    "h": 327
  },
  "luminance": 0.15347
}

Semantic roles & 50–950 ramp

primary
#B235B5
secondary
#81C680
accent
#DE4A4D
background
#FDF7FC
surface
#FAEEF9
border
#D3C9D2
text
#140A13
muted
#837C82

Preview Lab

Preview with #B235B5

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

Preview Lab → · Contrast checker → · Palette generator →

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