#B255F8#B255F8

#B255F8 is a light, highly saturated violet. Relative luminance 0.227; OKLCH L 63.9% C 0.236 H 307.1°. Best body text is #000000 at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#B255F8
RGBrgb(178, 85, 248)
HSLhsl(274, 92%, 65%)
HSVhsv(274, 66%, 97%)
CMYKcmyk(28.2%, 65.7%, 0%, 2.7%)
CIE-LABlab(54.80, 64.92, -66.42)
CIE-LCHlch(54.80, 92.87, 314.35°)
OKLaboklab(63.88% 0.1424 -0.1881)
OKLCHoklch(63.88% 0.236 307.1)
XYZxyz(38.5483, 22.7398, 91.1472)
Luminance0.2274 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B255F8 #9BF855
analogous
#6055F8 #B255F8 #F855EC
triadic
#B255F8 #F8B255 #55F8B2
tetradic
#B255F8 #F86055 #9BF855 #55ECF8
square
#B255F8 #F86055 #9BF855 #55ECF8
split-complementary
#B255F8 #ECF855 #55F860
monochromatic
#7708CA #971AF6 #B255F8 #CD90FA #E7CBFD

Accessibility & contrast

On white

3.79
#B255F8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.55
#B255F8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B255F8
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B255F8#FFFFFF#000000##000000
##B255F81.003.795.555.55
#FFFFFF3.791.0021.0021.00
#0000005.5521.001.001.00
##0000005.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0080FD
Deuteranopia (green-blind)
#2E84F4
Tritanopia (blue-blind)
#A778A0
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #b255f8;
/* rgb */ color: rgb(178, 85, 248);
/* oklch */ color: oklch(63.9% 0.236 307.1);
Tailwind
colors: {
  custom: {
    50: '#ce8bfb',
    500: '#b255f8',
    950: '#000000',
  },
}
SCSS
$custom: #b255f8;
$custom-light: #ce8bfb;
$custom-dark: #000000;
JSON
{
  "hex": "#b255f8",
  "rgb": {
    "r": 178,
    "g": 85,
    "b": 248
  },
  "hsl": {
    "h": 274.233,
    "s": 92.09,
    "l": 65.294
  },
  "oklch": {
    "l": 0.63879,
    "c": 0.23593,
    "h": 307.1
  },
  "luminance": 0.22739
}

Semantic roles & 50–950 ramp

primary
#B255F8
secondary
#D1F0B9
accent
#E60063
background
#FDF8FF
surface
#FAF0FF
border
#D3CBD7
text
#140C18
muted
#837D86

Preview Lab

Preview with #B255F8

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

Preview Lab → · Contrast checker → · Palette generator →

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