#B457EE#B457EE

#B457EE is a light, highly saturated violet. Relative luminance 0.227; OKLCH L 63.7% C 0.224 H 309.8°. Best body text is #000000 at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#B457EE
RGBrgb(180, 87, 238)
HSLhsl(277, 82%, 64%)
HSVhsv(277, 63%, 93%)
CMYKcmyk(24.4%, 63.4%, 0%, 6.7%)
CIE-LABlab(54.76, 62.26, -60.90)
CIE-LCHlch(54.76, 87.10, 315.63°)
OKLaboklab(63.7% 0.1434 -0.1719)
OKLCHoklch(63.7% 0.224 309.8)
XYZxyz(37.6602, 22.6935, 83.2687)
Luminance0.2269 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B457EE #91EE57
analogous
#6857EE #B457EE #EE57DC
triadic
#B457EE #EEB457 #57EEB4
tetradic
#B457EE #EE6857 #91EE57 #57DCEE
square
#B457EE #EE6857 #91EE57 #57DCEE
split-complementary
#B457EE #DCEE57 #57EE68
monochromatic
#7813B8 #9B1FE8 #B457EE #CD8FF4 #E6C6F9

Accessibility & contrast

On white

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

On black

5.54
#B457EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B457EE
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B457EE#FFFFFF#000000##000000
##B457EE1.003.795.545.54
#FFFFFF3.791.0021.0021.00
#0000005.5421.001.001.00
##0000005.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#007FF3
Deuteranopia (green-blind)
#4284EB
Tritanopia (blue-blind)
#AC759B
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #b457ee;
/* rgb */ color: rgb(180, 87, 238);
/* oklch */ color: oklch(63.7% 0.224 309.8);
Tailwind
colors: {
  custom: {
    50: '#ce8cf4',
    500: '#b457ee',
    950: '#000000',
  },
}
SCSS
$custom: #b457ee;
$custom-light: #ce8cf4;
$custom-dark: #000000;
JSON
{
  "hex": "#b457ee",
  "rgb": {
    "r": 180,
    "g": 87,
    "b": 238
  },
  "hsl": {
    "h": 276.954,
    "s": 81.622,
    "l": 63.725
  },
  "oklch": {
    "l": 0.63698,
    "c": 0.22386,
    "h": 309.8
  },
  "luminance": 0.22693
}

Semantic roles & 50–950 ramp

primary
#B457EE
secondary
#CAEBB6
accent
#DE085A
background
#FDF8FF
surface
#FAF0FE
border
#D3CBD6
text
#140C17
muted
#837D85

Preview Lab

Preview with #B457EE

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

Preview Lab → · Contrast checker → · Palette generator →

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