#B255CE#B255CE

#B255CE is a mid, vivid purple. Relative luminance 0.204; OKLCH L 61.3% C 0.194 H 317.7°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#B255CE
RGBrgb(178, 85, 206)
HSLhsl(286, 55%, 57%)
HSVhsv(286, 59%, 81%)
CMYKcmyk(13.6%, 58.7%, 0%, 19.2%)
CIE-LABlab(52.31, 56.09, -46.74)
CIE-LCHlch(52.31, 73.01, 320.20°)
OKLaboklab(61.28% 0.1436 -0.1305)
OKLCHoklch(61.28% 0.194 317.7)
XYZxyz(32.7476, 20.4195, 60.5969)
Luminance0.2042 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B255CE #71CE55
analogous
#7655CE #B255CE #CE55AD
triadic
#B255CE #CEB255 #55CEB2
tetradic
#B255CE #CE7655 #71CE55 #55ADCE
square
#B255CE #CE7655 #71CE55 #55ADCE
split-complementary
#B255CE #ADCE55 #55CE76
monochromatic
#6D2683 #9533B2 #B255CE #C885DC #DDB4E9

Accessibility & contrast

On white

4.13
#B255CE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#B255CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B255CE
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B255CE#FFFFFF#000000##000000
##B255CE1.004.135.085.08
#FFFFFF4.131.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3677D2
Deuteranopia (green-blind)
#5980CB
Tritanopia (blue-blind)
#B1698A
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #b255ce;
/* rgb */ color: rgb(178, 85, 206);
/* oklch */ color: oklch(61.3% 0.194 317.7);
Tailwind
colors: {
  custom: {
    50: '#cc8add',
    500: '#b255ce',
    950: '#000000',
  },
}
SCSS
$custom: #b255ce;
$custom-light: #cc8add;
$custom-dark: #000000;
JSON
{
  "hex": "#b255ce",
  "rgb": {
    "r": 178,
    "g": 85,
    "b": 206
  },
  "hsl": {
    "h": 286.116,
    "s": 55.251,
    "l": 57.059
  },
  "oklch": {
    "l": 0.61275,
    "c": 0.19403,
    "h": 317.7
  },
  "luminance": 0.20418
}

Semantic roles & 50–950 ramp

primary
#B255CE
secondary
#B2D8A7
accent
#DF496C
background
#FCF8FD
surface
#F9F0FB
border
#D2CBD4
text
#140C15
muted
#827D83

Preview Lab

Preview with #B255CE

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

Preview Lab → · Contrast checker → · Palette generator →

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