#B255D3#B255D3

#B255D3 is a mid, vivid purple. Relative luminance 0.207; OKLCH L 61.6% C 0.199 H 316.3°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#B255D3
RGBrgb(178, 85, 211)
HSLhsl(284, 59%, 58%)
HSVhsv(284, 60%, 83%)
CMYKcmyk(15.6%, 59.7%, 0%, 17.3%)
CIE-LABlab(52.58, 57.10, -49.16)
CIE-LCHlch(52.58, 75.34, 319.28°)
OKLaboklab(61.56% 0.1438 -0.1375)
OKLCHoklch(61.56% 0.199 316.3)
XYZxyz(33.3647, 20.6663, 63.8469)
Luminance0.2067 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B255D3 #76D355
analogous
#7355D3 #B255D3 #D355B5
triadic
#B255D3 #D3B255 #55D3B2
tetradic
#B255D3 #D37355 #76D355 #55B5D3
square
#B255D3 #D37355 #76D355 #55B5D3
split-complementary
#B255D3 #B5D355 #55D373
monochromatic
#6F248A #9630BB #B255D3 #C886E0 #DEB6EC

Accessibility & contrast

On white

4.09
#B255D3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.13
#B255D3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B255D3
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B255D3#FFFFFF#000000##000000
##B255D31.004.095.135.13
#FFFFFF4.091.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3078D7
Deuteranopia (green-blind)
#5680D0
Tritanopia (blue-blind)
#B06B8C
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #b255d3;
/* rgb */ color: rgb(178, 85, 211);
/* oklch */ color: oklch(61.6% 0.199 316.3);
Tailwind
colors: {
  custom: {
    50: '#cc8ae1',
    500: '#b255d3',
    950: '#000000',
  },
}
SCSS
$custom: #b255d3;
$custom-light: #cc8ae1;
$custom-dark: #000000;
JSON
{
  "hex": "#b255d3",
  "rgb": {
    "r": 178,
    "g": 85,
    "b": 211
  },
  "hsl": {
    "h": 284.286,
    "s": 58.879,
    "l": 58.039
  },
  "oklch": {
    "l": 0.61563,
    "c": 0.19895,
    "h": 316.3
  },
  "luminance": 0.20665
}

Semantic roles & 50–950 ramp

primary
#B255D3
secondary
#B6DBA9
accent
#E2466F
background
#FCF8FD
surface
#F9F0FB
border
#D2CBD4
text
#140C15
muted
#827D83

Preview Lab

Preview with #B255D3

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

Preview Lab → · Contrast checker → · Palette generator →

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