#B457EB#B457EB

#B457EB is a light, highly saturated violet. Relative luminance 0.225; OKLCH L 63.5% C 0.221 H 310.5°. Best body text is #000000 at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#B457EB
RGBrgb(180, 87, 235)
HSLhsl(278, 79%, 63%)
HSVhsv(278, 63%, 92%)
CMYKcmyk(23.4%, 63%, 0%, 7.8%)
CIE-LABlab(54.57, 61.62, -59.52)
CIE-LCHlch(54.57, 85.67, 316.00°)
OKLaboklab(63.51% 0.1436 -0.1678)
OKLCHoklch(63.51% 0.221 310.5)
XYZxyz(37.2231, 22.5186, 80.9668)
Luminance0.2252 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B457EB #8EEB57
analogous
#6A57EB #B457EB #EB57D8
triadic
#B457EB #EBB457 #57EBB4
tetradic
#B457EB #EB6A57 #8EEB57 #57D8EB
square
#B457EB #EB6A57 #8EEB57 #57D8EB
split-complementary
#B457EB #D8EB57 #57EB6A
monochromatic
#7815B2 #9C20E4 #B457EB #CC8EF2 #E5C4F8

Accessibility & contrast

On white

3.82
#B457EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.50
#B457EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B457EB
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B457EB#FFFFFF#000000##000000
##B457EB1.003.825.505.50
#FFFFFF3.821.0021.0021.00
#0000005.5021.001.001.00
##0000005.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#007EF0
Deuteranopia (green-blind)
#4584E8
Tritanopia (blue-blind)
#AD7499
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #b457eb;
/* rgb */ color: rgb(180, 87, 235);
/* oklch */ color: oklch(63.5% 0.221 310.5);
Tailwind
colors: {
  custom: {
    50: '#ce8cf2',
    500: '#b457eb',
    950: '#000000',
  },
}
SCSS
$custom: #b457eb;
$custom-light: #ce8cf2;
$custom-dark: #000000;
JSON
{
  "hex": "#b457eb",
  "rgb": {
    "r": 180,
    "g": 87,
    "b": 235
  },
  "hsl": {
    "h": 277.703,
    "s": 78.723,
    "l": 63.137
  },
  "oklch": {
    "l": 0.63508,
    "c": 0.22085,
    "h": 310.5
  },
  "luminance": 0.22518
}

Semantic roles & 50–950 ramp

primary
#B457EB
secondary
#C8E9B4
accent
#DB0A58
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#140C17
muted
#837D85

Preview Lab

Preview with #B457EB

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

Preview Lab → · Contrast checker → · Palette generator →

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