#B255CA#B255CA

#B255CA is a mid, vivid purple. Relative luminance 0.202; OKLCH L 61.0% C 0.190 H 319.0°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#B255CA
RGBrgb(178, 85, 202)
HSLhsl(288, 52%, 56%)
HSVhsv(288, 58%, 79%)
CMYKcmyk(11.9%, 57.9%, 0%, 20.8%)
CIE-LABlab(52.09, 55.30, -44.79)
CIE-LCHlch(52.09, 71.16, 320.99°)
OKLaboklab(61.05% 0.1434 -0.1248)
OKLCHoklch(61.05% 0.19 319)
XYZxyz(32.2679, 20.2276, 58.0703)
Luminance0.2023 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B255CA #6DCA55
analogous
#7855CA #B255CA #CA55A8
triadic
#B255CA #CAB255 #55CAB2
tetradic
#B255CA #CA7855 #6DCA55 #55A8CA
square
#B255CA #CA7855 #6DCA55 #55A8CA
split-complementary
#B255CA #A8CA55 #55CA78
monochromatic
#6C277D #9436AC #B255CA #C784D9 #DCB2E7

Accessibility & contrast

On white

4.16
#B255CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#B255CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B255CA
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B255CA#FFFFFF#000000##000000
##B255CA1.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A76CE
Deuteranopia (green-blind)
#5C7FC7
Tritanopia (blue-blind)
#B26788
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #b255ca;
/* rgb */ color: rgb(178, 85, 202);
/* oklch */ color: oklch(61.0% 0.190 319.0);
Tailwind
colors: {
  custom: {
    50: '#cc8ada',
    500: '#b255ca',
    950: '#000000',
  },
}
SCSS
$custom: #b255ca;
$custom-light: #cc8ada;
$custom-dark: #000000;
JSON
{
  "hex": "#b255ca",
  "rgb": {
    "r": 178,
    "g": 85,
    "b": 202
  },
  "hsl": {
    "h": 287.692,
    "s": 52.466,
    "l": 56.275
  },
  "oklch": {
    "l": 0.61049,
    "c": 0.19012,
    "h": 319
  },
  "luminance": 0.20226
}

Semantic roles & 50–950 ramp

primary
#B255CA
secondary
#AFD5A5
accent
#DC4C69
background
#FCF8FD
surface
#F9F0FB
border
#D2CBD4
text
#140C15
muted
#827D83

Preview Lab

Preview with #B255CA

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

Preview Lab → · Contrast checker → · Palette generator →

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