#B254ED#B254ED

#B254ED is a light, highly saturated violet. Relative luminance 0.219; OKLCH L 63.0% C 0.226 H 309.6°. Best body text is #000000 at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#B254ED
RGBrgb(178, 84, 237)
HSLhsl(277, 81%, 63%)
HSVhsv(277, 65%, 93%)
CMYKcmyk(24.9%, 64.6%, 0%, 7.1%)
CIE-LABlab(53.94, 62.99, -61.66)
CIE-LCHlch(53.94, 88.15, 315.61°)
OKLaboklab(63.04% 0.1443 -0.1742)
OKLCHoklch(63.04% 0.226 309.6)
XYZxyz(36.8135, 21.9208, 82.3962)
Luminance0.2192 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B254ED #8FED54
analogous
#6654ED #B254ED #ED54DB
triadic
#B254ED #EDB254 #54EDB2
tetradic
#B254ED #ED6654 #8FED54 #54DBED
square
#B254ED #ED6654 #8FED54 #54DBED
split-complementary
#B254ED #DBED54 #54ED66
monochromatic
#7613B4 #991DE7 #B254ED #CB8BF3 #E4C3F9

Accessibility & contrast

On white

3.90
#B254ED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.38
#B254ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B254ED
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B254ED#FFFFFF#000000##000000
##B254ED1.003.905.385.38
#FFFFFF3.901.0021.0021.00
#0000005.3821.001.001.00
##0000005.3821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b254ed;
/* rgb */ color: rgb(178, 84, 237);
/* oklch */ color: oklch(63.0% 0.226 309.6);
Tailwind
colors: {
  custom: {
    50: '#cd8af4',
    500: '#b254ed',
    950: '#000000',
  },
}
SCSS
$custom: #b254ed;
$custom-light: #cd8af4;
$custom-dark: #000000;
JSON
{
  "hex": "#b254ed",
  "rgb": {
    "r": 178,
    "g": 84,
    "b": 237
  },
  "hsl": {
    "h": 276.863,
    "s": 80.952,
    "l": 62.941
  },
  "oklch": {
    "l": 0.63039,
    "c": 0.22619,
    "h": 309.6
  },
  "luminance": 0.2192
}

Semantic roles & 50–950 ramp

primary
#B254ED
secondary
#C8EAB3
accent
#DD085A
background
#FDF8FF
surface
#FAF0FE
border
#D3CBD6
text
#140C17
muted
#837D85

Preview Lab

Preview with #B254ED

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

Preview Lab → · Contrast checker → · Palette generator →

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