#B255E1#B255E1

#B255E1 is a light, highly saturated violet. Relative luminance 0.214; OKLCH L 62.4% C 0.213 H 312.5°. Best body text is #000000 at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#B255E1
RGBrgb(178, 85, 225)
HSLhsl(280, 70%, 61%)
HSVhsv(280, 62%, 88%)
CMYKcmyk(20.9%, 62.2%, 0%, 11.8%)
CIE-LABlab(53.38, 59.99, -55.81)
CIE-LCHlch(53.38, 81.94, 317.06°)
OKLaboklab(62.4% 0.1437 -0.157)
OKLCHoklch(62.4% 0.213 312.5)
XYZxyz(35.1968, 21.3991, 73.4959)
Luminance0.2140 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B255E1 #84E155
analogous
#6C55E1 #B255E1 #E155CA
triadic
#B255E1 #E1B255 #55E1B2
tetradic
#B255E1 #E16C55 #84E155 #55CAE1
square
#B255E1 #E16C55 #84E155 #55CAE1
split-complementary
#B255E1 #CAE155 #55E16C
monochromatic
#731C9F #9925D3 #B255E1 #CA89EA #E1BDF3

Accessibility & contrast

On white

3.98
#B255E1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.28
#B255E1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B255E1
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B255E1#FFFFFF#000000##000000
##B255E11.003.985.285.28
#FFFFFF3.981.0021.0021.00
#0000005.2821.001.001.00
##0000005.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#187BE5
Deuteranopia (green-blind)
#4B82DE
Tritanopia (blue-blind)
#AD7093
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #b255e1;
/* rgb */ color: rgb(178, 85, 225);
/* oklch */ color: oklch(62.4% 0.213 312.5);
Tailwind
colors: {
  custom: {
    50: '#cd8aeb',
    500: '#b255e1',
    950: '#000000',
  },
}
SCSS
$custom: #b255e1;
$custom-light: #cd8aeb;
$custom-dark: #000000;
JSON
{
  "hex": "#b255e1",
  "rgb": {
    "r": 178,
    "g": 85,
    "b": 225
  },
  "hsl": {
    "h": 279.857,
    "s": 70,
    "l": 60.784
  },
  "oklch": {
    "l": 0.62403,
    "c": 0.21286,
    "h": 312.5
  },
  "luminance": 0.21398
}

Semantic roles & 50–950 ramp

primary
#B255E1
secondary
#C0E3AE
accent
#D21453
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#140C16
muted
#837D84

Preview Lab

Preview with #B255E1

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

Preview Lab → · Contrast checker → · Palette generator →

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