#B457EF#B457EF

#B457EF is a light, highly saturated violet. Relative luminance 0.228; OKLCH L 63.8% C 0.225 H 309.6°. Best body text is #000000 at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#B457EF
RGBrgb(180, 87, 239)
HSLhsl(277, 83%, 64%)
HSVhsv(277, 64%, 94%)
CMYKcmyk(24.7%, 63.6%, 0%, 6.3%)
CIE-LABlab(54.82, 62.48, -61.37)
CIE-LCHlch(54.82, 87.57, 315.51°)
OKLaboklab(63.76% 0.1434 -0.1732)
OKLCHoklch(63.76% 0.225 309.6)
XYZxyz(37.8075, 22.7524, 84.0446)
Luminance0.2275 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B457EF #92EF57
analogous
#6857EF #B457EF #EF57DE
triadic
#B457EF #EFB457 #57EFB4
tetradic
#B457EF #EF6857 #92EF57 #57DEEF
square
#B457EF #EF6857 #92EF57 #57DEEF
split-complementary
#B457EF #DEEF57 #57EF68
monochromatic
#7912BA #9B1FEA #B457EF #CD8FF4 #E6C7FA

Accessibility & contrast

On white

3.78
#B457EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.55
#B457EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B457EF
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B457EF#FFFFFF#000000##000000
##B457EF1.003.785.555.55
#FFFFFF3.781.0021.0021.00
#0000005.5521.001.001.00
##0000005.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#007FF4
Deuteranopia (green-blind)
#4185EC
Tritanopia (blue-blind)
#AC769C
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #b457ef;
/* rgb */ color: rgb(180, 87, 239);
/* oklch */ color: oklch(63.8% 0.225 309.6);
Tailwind
colors: {
  custom: {
    50: '#cf8cf5',
    500: '#b457ef',
    950: '#000000',
  },
}
SCSS
$custom: #b457ef;
$custom-light: #cf8cf5;
$custom-dark: #000000;
JSON
{
  "hex": "#b457ef",
  "rgb": {
    "r": 180,
    "g": 87,
    "b": 239
  },
  "hsl": {
    "h": 276.711,
    "s": 82.609,
    "l": 63.922
  },
  "oklch": {
    "l": 0.63762,
    "c": 0.22487,
    "h": 309.6
  },
  "luminance": 0.22752
}

Semantic roles & 50–950 ramp

primary
#B457EF
secondary
#CBECB6
accent
#DF065B
background
#FDF8FF
surface
#FAF0FE
border
#D3CBD6
text
#140C17
muted
#837D85

Preview Lab

Preview with #B457EF

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

Preview Lab → · Contrast checker → · Palette generator →

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