#B255E4#B255E4

#B255E4 is a light, highly saturated violet. Relative luminance 0.216; OKLCH L 62.6% C 0.216 H 311.7°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#B255E4
RGBrgb(178, 85, 228)
HSLhsl(279, 73%, 61%)
HSVhsv(279, 63%, 89%)
CMYKcmyk(21.9%, 62.7%, 0%, 10.6%)
CIE-LABlab(53.56, 60.62, -57.22)
CIE-LCHlch(53.56, 83.36, 316.65°)
OKLaboklab(62.59% 0.1437 -0.1611)
OKLCHoklch(62.59% 0.216 311.7)
XYZxyz(35.6096, 21.5643, 75.6702)
Luminance0.2156 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B255E4 #87E455
analogous
#6B55E4 #B255E4 #E455CF
triadic
#B255E4 #E4B255 #55E4B2
tetradic
#B255E4 #E46B55 #87E455 #55CFE4
square
#B255E4 #E46B55 #87E455 #55CFE4
split-complementary
#B255E4 #CFE455 #55E46B
monochromatic
#741AA4 #9923D9 #B255E4 #CA8AEC #E2BFF5

Accessibility & contrast

On white

3.95
#B255E4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.31
#B255E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B255E4
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B255E4#FFFFFF#000000##000000
##B255E41.003.955.315.31
#FFFFFF3.951.0021.0021.00
#0000005.3121.001.001.00
##0000005.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0E7BE8
Deuteranopia (green-blind)
#4882E1
Tritanopia (blue-blind)
#AC7195
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #b255e4;
/* rgb */ color: rgb(178, 85, 228);
/* oklch */ color: oklch(62.6% 0.216 311.7);
Tailwind
colors: {
  custom: {
    50: '#cd8aed',
    500: '#b255e4',
    950: '#000000',
  },
}
SCSS
$custom: #b255e4;
$custom-light: #cd8aed;
$custom-dark: #000000;
JSON
{
  "hex": "#b255e4",
  "rgb": {
    "r": 178,
    "g": 85,
    "b": 228
  },
  "hsl": {
    "h": 279.021,
    "s": 72.589,
    "l": 61.373
  },
  "oklch": {
    "l": 0.62589,
    "c": 0.21587,
    "h": 311.7
  },
  "luminance": 0.21563
}

Semantic roles & 50–950 ramp

primary
#B255E4
secondary
#C2E5B0
accent
#D51155
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#140C16
muted
#837D84

Preview Lab

Preview with #B255E4

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

Preview Lab → · Contrast checker → · Palette generator →

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