#B255E9#B255E9

#B255E9 is a light, highly saturated violet. Relative luminance 0.218; OKLCH L 62.9% C 0.221 H 310.5°. Best body text is #000000 at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#B255E9
RGBrgb(178, 85, 233)
HSLhsl(278, 77%, 62%)
HSVhsv(278, 64%, 91%)
CMYKcmyk(23.6%, 63.5%, 0%, 8.6%)
CIE-LABlab(53.86, 61.68, -59.55)
CIE-LCHlch(53.86, 85.73, 316.01°)
OKLaboklab(62.9% 0.1434 -0.168)
OKLCHoklch(62.9% 0.221 310.5)
XYZxyz(36.3138, 21.8459, 79.3787)
Luminance0.2185 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B255E9 #8CE955
analogous
#6855E9 #B255E9 #E955D6
triadic
#B255E9 #E9B255 #55E9B2
tetradic
#B255E9 #E96855 #8CE955 #55D6E9
square
#B255E9 #E96855 #8CE955 #55D6E9
split-complementary
#B255E9 #D6E955 #55E968
monochromatic
#7516AD #991FE2 #B255E9 #CB8BF0 #E3C1F7

Accessibility & contrast

On white

3.91
#B255E9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.37
#B255E9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B255E9
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B255E9#FFFFFF#000000##000000
##B255E91.003.915.375.37
#FFFFFF3.911.0021.0021.00
#0000005.3721.001.001.00
##0000005.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CEE
Deuteranopia (green-blind)
#4382E6
Tritanopia (blue-blind)
#AB7398
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #b255e9;
/* rgb */ color: rgb(178, 85, 233);
/* oklch */ color: oklch(62.9% 0.221 310.5);
Tailwind
colors: {
  custom: {
    50: '#cd8af1',
    500: '#b255e9',
    950: '#000000',
  },
}
SCSS
$custom: #b255e9;
$custom-light: #cd8af1;
$custom-dark: #000000;
JSON
{
  "hex": "#b255e9",
  "rgb": {
    "r": 178,
    "g": 85,
    "b": 233
  },
  "hsl": {
    "h": 277.703,
    "s": 77.083,
    "l": 62.353
  },
  "oklch": {
    "l": 0.62903,
    "c": 0.22087,
    "h": 310.5
  },
  "luminance": 0.21845
}

Semantic roles & 50–950 ramp

primary
#B255E9
secondary
#C6E8B2
accent
#D90C58
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#140C17
muted
#837D85

Preview Lab

Preview with #B255E9

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

Preview Lab → · Contrast checker → · Palette generator →

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