#B254E9#B254E9

#B254E9 is a light, highly saturated violet. Relative luminance 0.217; OKLCH L 62.8% C 0.222 H 310.6°. Best body text is #000000 at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#B254E9
RGBrgb(178, 84, 233)
HSLhsl(278, 77%, 62%)
HSVhsv(278, 64%, 91%)
CMYKcmyk(23.6%, 63.9%, 0%, 8.6%)
CIE-LABlab(53.70, 62.14, -59.82)
CIE-LCHlch(53.70, 86.25, 316.09°)
OKLaboklab(62.78% 0.1446 -0.1687)
OKLCHoklch(62.78% 0.222 310.6)
XYZxyz(36.2356, 21.6896, 79.3527)
Luminance0.2169 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B254E9 #8BE954
analogous
#6754E9 #B254E9 #E954D6
triadic
#B254E9 #E9B254 #54E9B2
tetradic
#B254E9 #E96754 #8BE954 #54D6E9
square
#B254E9 #E96754 #8BE954 #54D6E9
split-complementary
#B254E9 #D6E954 #54E967
monochromatic
#7516AC #9A1EE2 #B254E9 #CA8AF0 #E3C0F7

Accessibility & contrast

On white

3.93
#B254E9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.34
#B254E9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B254E9
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B254E9#FFFFFF#000000##000000
##B254E91.003.935.345.34
#FFFFFF3.931.0021.0021.00
#0000005.3421.001.001.00
##0000005.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CEE
Deuteranopia (green-blind)
#4282E6
Tritanopia (blue-blind)
#AB7297
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #b254e9;
/* rgb */ color: rgb(178, 84, 233);
/* oklch */ color: oklch(62.8% 0.222 310.6);
Tailwind
colors: {
  custom: {
    50: '#cd8af1',
    500: '#b254e9',
    950: '#000000',
  },
}
SCSS
$custom: #b254e9;
$custom-light: #cd8af1;
$custom-dark: #000000;
JSON
{
  "hex": "#b254e9",
  "rgb": {
    "r": 178,
    "g": 84,
    "b": 233
  },
  "hsl": {
    "h": 277.852,
    "s": 77.202,
    "l": 62.157
  },
  "oklch": {
    "l": 0.62783,
    "c": 0.2222,
    "h": 310.6
  },
  "luminance": 0.21689
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B254E9

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

Preview Lab → · Contrast checker → · Palette generator →

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