#B255E8#B255E8

#B255E8 is a light, highly saturated violet. Relative luminance 0.218; OKLCH L 62.8% C 0.220 H 310.7°. Best body text is #000000 at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#B255E8
RGBrgb(178, 85, 232)
HSLhsl(278, 76%, 62%)
HSVhsv(278, 63%, 91%)
CMYKcmyk(23.3%, 63.4%, 0%, 9%)
CIE-LABlab(53.80, 61.46, -59.08)
CIE-LCHlch(53.80, 85.26, 316.13°)
OKLaboklab(62.84% 0.1435 -0.1666)
OKLCHoklch(62.84% 0.22 310.7)
XYZxyz(36.1713, 21.7890, 78.6285)
Luminance0.2179 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B255E8 #8BE855
analogous
#6855E8 #B255E8 #E855D5
triadic
#B255E8 #E8B255 #55E8B2
tetradic
#B255E8 #E86855 #8BE855 #55D5E8
square
#B255E8 #E86855 #8BE855 #55D5E8
split-complementary
#B255E8 #D5E855 #55E868
monochromatic
#7517AB #9A1FE1 #B255E8 #CA8BEF #E3C1F7

Accessibility & contrast

On white

3.92
#B255E8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.36
#B255E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B255E8
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B255E8#FFFFFF#000000##000000
##B255E81.003.925.365.36
#FFFFFF3.921.0021.0021.00
#0000005.3621.001.001.00
##0000005.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CEC
Deuteranopia (green-blind)
#4482E5
Tritanopia (blue-blind)
#AB7297
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #b255e8;
/* rgb */ color: rgb(178, 85, 232);
/* oklch */ color: oklch(62.8% 0.220 310.7);
Tailwind
colors: {
  custom: {
    50: '#cd8af0',
    500: '#b255e8',
    950: '#000000',
  },
}
SCSS
$custom: #b255e8;
$custom-light: #cd8af0;
$custom-dark: #000000;
JSON
{
  "hex": "#b255e8",
  "rgb": {
    "r": 178,
    "g": 85,
    "b": 232
  },
  "hsl": {
    "h": 277.959,
    "s": 76.166,
    "l": 62.157
  },
  "oklch": {
    "l": 0.6284,
    "c": 0.21987,
    "h": 310.7
  },
  "luminance": 0.21788
}

Semantic roles & 50–950 ramp

primary
#B255E8
secondary
#C5E7B1
accent
#D80D58
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#140C17
muted
#837D85

Preview Lab

Preview with #B255E8

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

Preview Lab → · Contrast checker → · Palette generator →

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