#B255CD#B255CD

#B255CD is a mid, vivid purple. Relative luminance 0.204; OKLCH L 61.2% C 0.193 H 318.0°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#B255CD
RGBrgb(178, 85, 205)
HSLhsl(287, 55%, 57%)
HSVhsv(287, 59%, 80%)
CMYKcmyk(13.2%, 58.5%, 0%, 19.6%)
CIE-LABlab(52.25, 55.89, -46.25)
CIE-LCHlch(52.25, 72.55, 320.39°)
OKLaboklab(61.22% 0.1436 -0.1291)
OKLCHoklch(61.22% 0.193 318)
XYZxyz(32.6265, 20.3710, 59.9592)
Luminance0.2037 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B255CD #70CD55
analogous
#7655CD #B255CD #CD55AC
triadic
#B255CD #CDB255 #55CDB2
tetradic
#B255CD #CD7655 #70CD55 #55ACCD
square
#B255CD #CD7655 #70CD55 #55ACCD
split-complementary
#B255CD #ACCD55 #55CD76
monochromatic
#6D2682 #9534B1 #B255CD #C784DB #DDB4E9

Accessibility & contrast

On white

4.14
#B255CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#B255CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B255CD
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B255CD#FFFFFF#000000##000000
##B255CD1.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3777D1
Deuteranopia (green-blind)
#5A80CA
Tritanopia (blue-blind)
#B26889
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #b255cd;
/* rgb */ color: rgb(178, 85, 205);
/* oklch */ color: oklch(61.2% 0.193 318.0);
Tailwind
colors: {
  custom: {
    50: '#cc8add',
    500: '#b255cd',
    950: '#000000',
  },
}
SCSS
$custom: #b255cd;
$custom-light: #cc8add;
$custom-dark: #000000;
JSON
{
  "hex": "#b255cd",
  "rgb": {
    "r": 178,
    "g": 85,
    "b": 205
  },
  "hsl": {
    "h": 286.5,
    "s": 54.545,
    "l": 56.863
  },
  "oklch": {
    "l": 0.61218,
    "c": 0.19304,
    "h": 318
  },
  "luminance": 0.2037
}

Semantic roles & 50–950 ramp

primary
#B255CD
secondary
#B1D7A6
accent
#DE4A6B
background
#FCF8FD
surface
#F9F0FB
border
#D2CBD4
text
#140C15
muted
#827D83

Preview Lab

Preview with #B255CD

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

Preview Lab → · Contrast checker → · Palette generator →

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