#B255D7#B255D7

#B255D7 is a mid, highly saturated purple. Relative luminance 0.209; OKLCH L 61.8% C 0.203 H 315.1°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#B255D7
RGBrgb(178, 85, 215)
HSLhsl(283, 62%, 59%)
HSVhsv(283, 60%, 84%)
CMYKcmyk(17.2%, 60.5%, 0%, 15.7%)
CIE-LABlab(52.81, 57.91, -51.07)
CIE-LCHlch(52.81, 77.22, 318.59°)
OKLaboklab(61.8% 0.1438 -0.1431)
OKLCHoklch(61.8% 0.203 315.1)
XYZxyz(33.8724, 20.8694, 66.5207)
Luminance0.2087 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B255D7 #7AD755
analogous
#7155D7 #B255D7 #D755BB
triadic
#B255D7 #D7B255 #55D7B2
tetradic
#B255D7 #D77155 #7AD755 #55BBD7
square
#B255D7 #D77155 #7AD755 #55BBD7
split-complementary
#B255D7 #BBD755 #55D771
monochromatic
#702290 #972DC1 #B255D7 #C887E3 #DFB8EE

Accessibility & contrast

On white

4.06
#B255D7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#B255D7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B255D7
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B255D7#FFFFFF#000000##000000
##B255D71.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#2B79DB
Deuteranopia (green-blind)
#5381D4
Tritanopia (blue-blind)
#AF6C8E
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #b255d7;
/* rgb */ color: rgb(178, 85, 215);
/* oklch */ color: oklch(61.8% 0.203 315.1);
Tailwind
colors: {
  custom: {
    50: '#cc8ae4',
    500: '#b255d7',
    950: '#000000',
  },
}
SCSS
$custom: #b255d7;
$custom-light: #cc8ae4;
$custom-dark: #000000;
JSON
{
  "hex": "#b255d7",
  "rgb": {
    "r": 178,
    "g": 85,
    "b": 215
  },
  "hsl": {
    "h": 282.923,
    "s": 61.905,
    "l": 58.824
  },
  "oklch": {
    "l": 0.61798,
    "c": 0.2029,
    "h": 315.1
  },
  "luminance": 0.20868
}

Semantic roles & 50–950 ramp

primary
#B255D7
secondary
#B9DEAA
accent
#E54371
background
#FCF8FE
surface
#F9F0FC
border
#D2CBD5
text
#140C16
muted
#827D84

Preview Lab

Preview with #B255D7

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

Preview Lab → · Contrast checker → · Palette generator →

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