#B255D5#B255D5

#B255D5 is a mid, highly saturated purple. Relative luminance 0.208; OKLCH L 61.7% C 0.201 H 315.7°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#B255D5
RGBrgb(178, 85, 213)
HSLhsl(284, 60%, 58%)
HSVhsv(284, 60%, 84%)
CMYKcmyk(16.4%, 60.1%, 0%, 16.5%)
CIE-LABlab(52.69, 57.50, -50.12)
CIE-LCHlch(52.69, 76.28, 318.93°)
OKLaboklab(61.68% 0.1438 -0.1403)
OKLCHoklch(61.68% 0.201 315.7)
XYZxyz(33.6170, 20.7672, 65.1755)
Luminance0.2077 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B255D5 #78D555
analogous
#7255D5 #B255D5 #D555B8
triadic
#B255D5 #D5B255 #55D5B2
tetradic
#B255D5 #D57255 #78D555 #55B8D5
square
#B255D5 #D57255 #78D555 #55B8D5
split-complementary
#B255D5 #B8D555 #55D572
monochromatic
#70238D #972FBE #B255D5 #C886E1 #DEB7ED

Accessibility & contrast

On white

4.08
#B255D5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#B255D5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B255D5
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B255D5#FFFFFF#000000##000000
##B255D51.004.085.155.15
#FFFFFF4.081.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#2E78D9
Deuteranopia (green-blind)
#5580D2
Tritanopia (blue-blind)
#B06B8D
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #b255d5;
/* rgb */ color: rgb(178, 85, 213);
/* oklch */ color: oklch(61.7% 0.201 315.7);
Tailwind
colors: {
  custom: {
    50: '#cc8ae2',
    500: '#b255d5',
    950: '#000000',
  },
}
SCSS
$custom: #b255d5;
$custom-light: #cc8ae2;
$custom-dark: #000000;
JSON
{
  "hex": "#b255d5",
  "rgb": {
    "r": 178,
    "g": 85,
    "b": 213
  },
  "hsl": {
    "h": 283.594,
    "s": 60.377,
    "l": 58.431
  },
  "oklch": {
    "l": 0.6168,
    "c": 0.20093,
    "h": 315.7
  },
  "luminance": 0.20766
}

Semantic roles & 50–950 ramp

primary
#B255D5
secondary
#B7DCA9
accent
#E44470
background
#FCF8FD
surface
#F9F0FB
border
#D2CBD4
text
#140C15
muted
#827D83

Preview Lab

Preview with #B255D5

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

Preview Lab → · Contrast checker → · Palette generator →

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