#B255D2#B255D2

#B255D2 is a mid, vivid purple. Relative luminance 0.206; OKLCH L 61.5% C 0.198 H 316.6°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#B255D2
RGBrgb(178, 85, 210)
HSLhsl(285, 58%, 58%)
HSVhsv(285, 60%, 82%)
CMYKcmyk(15.2%, 59.5%, 0%, 17.6%)
CIE-LABlab(52.53, 56.90, -48.67)
CIE-LCHlch(52.53, 74.87, 319.45°)
OKLaboklab(61.51% 0.1437 -0.1361)
OKLCHoklch(61.51% 0.198 316.6)
XYZxyz(33.2397, 20.6163, 63.1887)
Luminance0.2061 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B255D2 #75D255
analogous
#7355D2 #B255D2 #D255B4
triadic
#B255D2 #D2B255 #55D2B2
tetradic
#B255D2 #D27355 #75D255 #55B4D2
square
#B255D2 #D27355 #75D255 #55B4D2
split-complementary
#B255D2 #B4D255 #55D273
monochromatic
#6F2488 #9631B9 #B255D2 #C885DF #DEB6EC

Accessibility & contrast

On white

4.10
#B255D2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#B255D2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B255D2
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B255D2#FFFFFF#000000##000000
##B255D21.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3278D6
Deuteranopia (green-blind)
#5780CF
Tritanopia (blue-blind)
#B06A8C
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #b255d2;
/* rgb */ color: rgb(178, 85, 210);
/* oklch */ color: oklch(61.5% 0.198 316.6);
Tailwind
colors: {
  custom: {
    50: '#cc8ae0',
    500: '#b255d2',
    950: '#000000',
  },
}
SCSS
$custom: #b255d2;
$custom-light: #cc8ae0;
$custom-dark: #000000;
JSON
{
  "hex": "#b255d2",
  "rgb": {
    "r": 178,
    "g": 85,
    "b": 210
  },
  "hsl": {
    "h": 284.64,
    "s": 58.14,
    "l": 57.843
  },
  "oklch": {
    "l": 0.61505,
    "c": 0.19796,
    "h": 316.6
  },
  "luminance": 0.20615
}

Semantic roles & 50–950 ramp

primary
#B255D2
secondary
#B5DAA8
accent
#E1466E
background
#FCF8FD
surface
#F9F0FB
border
#D2CBD4
text
#140C15
muted
#827D83

Preview Lab

Preview with #B255D2

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

Preview Lab → · Contrast checker → · Palette generator →

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