#B255ED#B255ED

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

Color values

HEX#B255ED
RGBrgb(178, 85, 237)
HSLhsl(277, 81%, 63%)
HSVhsv(277, 64%, 93%)
CMYKcmyk(24.9%, 64.1%, 0%, 7.1%)
CIE-LABlab(54.11, 62.53, -61.40)
CIE-LCHlch(54.11, 87.64, 315.53°)
OKLaboklab(63.16% 0.1432 -0.1734)
OKLCHoklch(63.16% 0.225 309.6)
XYZxyz(36.8917, 22.0771, 82.4222)
Luminance0.2208 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B255ED #90ED55
analogous
#6655ED #B255ED #ED55DC
triadic
#B255ED #EDB255 #55EDB2
tetradic
#B255ED #ED6655 #90ED55 #55DCED
square
#B255ED #ED6655 #90ED55 #55DCED
split-complementary
#B255ED #DCED55 #55ED66
monochromatic
#7613B4 #991EE7 #B255ED #CB8CF3 #E4C4F9

Accessibility & contrast

On white

3.88
#B255ED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.42
#B255ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B255ED
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B255ED#FFFFFF#000000##000000
##B255ED1.003.885.425.42
#FFFFFF3.881.0021.0021.00
#0000005.4221.001.001.00
##0000005.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DF2
Deuteranopia (green-blind)
#3E83EA
Tritanopia (blue-blind)
#AA749A
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #b255ed;
/* rgb */ color: rgb(178, 85, 237);
/* oklch */ color: oklch(63.2% 0.225 309.6);
Tailwind
colors: {
  custom: {
    50: '#cd8af4',
    500: '#b255ed',
    950: '#000000',
  },
}
SCSS
$custom: #b255ed;
$custom-light: #cd8af4;
$custom-dark: #000000;
JSON
{
  "hex": "#b255ed",
  "rgb": {
    "r": 178,
    "g": 85,
    "b": 237
  },
  "hsl": {
    "h": 276.711,
    "s": 80.851,
    "l": 63.137
  },
  "oklch": {
    "l": 0.63159,
    "c": 0.22488,
    "h": 309.6
  },
  "luminance": 0.22076
}

Semantic roles & 50–950 ramp

primary
#B255ED
secondary
#C9EAB4
accent
#DD085B
background
#FDF8FF
surface
#FAF0FE
border
#D3CBD6
text
#140C17
muted
#837D85

Preview Lab

Preview with #B255ED

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

Preview Lab → · Contrast checker → · Palette generator →

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