#B255CC#B255CC

#B255CC is a mid, vivid purple. Relative luminance 0.203; OKLCH L 61.2% C 0.192 H 318.3°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#B255CC
RGBrgb(178, 85, 204)
HSLhsl(287, 54%, 57%)
HSVhsv(287, 58%, 80%)
CMYKcmyk(12.7%, 58.3%, 0%, 20%)
CIE-LABlab(52.20, 55.69, -45.76)
CIE-LCHlch(52.20, 72.08, 320.59°)
OKLaboklab(61.16% 0.1435 -0.1277)
OKLCHoklch(61.16% 0.192 318.3)
XYZxyz(32.5062, 20.3229, 59.3255)
Luminance0.2032 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B255CC #6FCC55
analogous
#7755CC #B255CC #CC55AB
triadic
#B255CC #CCB255 #55CCB2
tetradic
#B255CC #CC7755 #6FCC55 #55ABCC
square
#B255CC #CC7755 #6FCC55 #55ABCC
split-complementary
#B255CC #ABCC55 #55CC77
monochromatic
#6D2680 #9435AF #B255CC #C784DA #DDB3E8

Accessibility & contrast

On white

4.15
#B255CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#B255CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B255CC
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B255CC#FFFFFF#000000##000000
##B255CC1.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3876D0
Deuteranopia (green-blind)
#5B80C9
Tritanopia (blue-blind)
#B26889
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #b255cc;
/* rgb */ color: rgb(178, 85, 204);
/* oklch */ color: oklch(61.2% 0.192 318.3);
Tailwind
colors: {
  custom: {
    50: '#cc8adc',
    500: '#b255cc',
    950: '#000000',
  },
}
SCSS
$custom: #b255cc;
$custom-light: #cc8adc;
$custom-dark: #000000;
JSON
{
  "hex": "#b255cc",
  "rgb": {
    "r": 178,
    "g": 85,
    "b": 204
  },
  "hsl": {
    "h": 286.891,
    "s": 53.846,
    "l": 56.667
  },
  "oklch": {
    "l": 0.61161,
    "c": 0.19207,
    "h": 318.3
  },
  "luminance": 0.20322
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B255CC

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

Preview Lab → · Contrast checker → · Palette generator →

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