#B255EE#B255EE

#B255EE is a light, highly saturated violet. Relative luminance 0.221; OKLCH L 63.2% C 0.226 H 309.3°. Best body text is #000000 at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#B255EE
RGBrgb(178, 85, 238)
HSLhsl(276, 82%, 63%)
HSVhsv(276, 64%, 93%)
CMYKcmyk(25.2%, 64.3%, 0%, 6.7%)
CIE-LABlab(54.17, 62.75, -61.86)
CIE-LCHlch(54.17, 88.11, 315.41°)
OKLaboklab(63.22% 0.1432 -0.1747)
OKLCHoklch(63.22% 0.226 309.3)
XYZxyz(37.0382, 22.1357, 83.1938)
Luminance0.2213 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B255EE #91EE55
analogous
#6555EE #B255EE #EE55DD
triadic
#B255EE #EEB255 #55EEB2
tetradic
#B255EE #EE6555 #91EE55 #55DDEE
square
#B255EE #EE6555 #91EE55 #55DDEE
split-complementary
#B255EE #DDEE55 #55EE65
monochromatic
#7612B6 #991DE8 #B255EE #CB8DF4 #E4C4F9

Accessibility & contrast

On white

3.87
#B255EE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.43
#B255EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B255EE
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B255EE#FFFFFF#000000##000000
##B255EE1.003.875.435.43
#FFFFFF3.871.0021.0021.00
#0000005.4321.001.001.00
##0000005.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#007EF3
Deuteranopia (green-blind)
#3D83EB
Tritanopia (blue-blind)
#A9749A
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #b255ee;
/* rgb */ color: rgb(178, 85, 238);
/* oklch */ color: oklch(63.2% 0.226 309.3);
Tailwind
colors: {
  custom: {
    50: '#cd8af4',
    500: '#b255ee',
    950: '#000000',
  },
}
SCSS
$custom: #b255ee;
$custom-light: #cd8af4;
$custom-dark: #000000;
JSON
{
  "hex": "#b255ee",
  "rgb": {
    "r": 178,
    "g": 85,
    "b": 238
  },
  "hsl": {
    "h": 276.471,
    "s": 81.818,
    "l": 63.333
  },
  "oklch": {
    "l": 0.63223,
    "c": 0.22589,
    "h": 309.3
  },
  "luminance": 0.22135
}

Semantic roles & 50–950 ramp

primary
#B255EE
secondary
#CAEBB4
accent
#DE075C
background
#FDF8FF
surface
#FAF0FE
border
#D3CBD6
text
#140C17
muted
#837D85

Preview Lab

Preview with #B255EE

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

Preview Lab → · Contrast checker → · Palette generator →

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