#B457F0#B457F0

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

Color values

HEX#B457F0
RGBrgb(180, 87, 240)
HSLhsl(276, 84%, 64%)
HSVhsv(276, 64%, 94%)
CMYKcmyk(25%, 63.7%, 0%, 5.9%)
CIE-LABlab(54.88, 62.69, -61.83)
CIE-LCHlch(54.88, 88.05, 315.40°)
OKLaboklab(63.83% 0.1433 -0.1746)
OKLCHoklch(63.83% 0.226 309.4)
XYZxyz(37.9557, 22.8117, 84.8248)
Luminance0.2281 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B457F0 #93F057
analogous
#6857F0 #B457F0 #F057DF
triadic
#B457F0 #F0B457 #57F0B4
tetradic
#B457F0 #F06857 #93F057 #57DFF0
square
#B457F0 #F06857 #93F057 #57DFF0
split-complementary
#B457F0 #DFF057 #57F068
monochromatic
#7911BC #9B1FEB #B457F0 #CD8FF5 #E6C7FA

Accessibility & contrast

On white

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

On black

5.56
#B457F0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B457F0
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B457F0#FFFFFF#000000##000000
##B457F01.003.785.565.56
#FFFFFF3.781.0021.0021.00
#0000005.5621.001.001.00
##0000005.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#007FF5
Deuteranopia (green-blind)
#4085ED
Tritanopia (blue-blind)
#AC769C
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #b457f0;
/* rgb */ color: rgb(180, 87, 240);
/* oklch */ color: oklch(63.8% 0.226 309.4);
Tailwind
colors: {
  custom: {
    50: '#cf8cf6',
    500: '#b457f0',
    950: '#000000',
  },
}
SCSS
$custom: #b457f0;
$custom-light: #cf8cf6;
$custom-dark: #000000;
JSON
{
  "hex": "#b457f0",
  "rgb": {
    "r": 180,
    "g": 87,
    "b": 240
  },
  "hsl": {
    "h": 276.471,
    "s": 83.607,
    "l": 64.118
  },
  "oklch": {
    "l": 0.63826,
    "c": 0.22588,
    "h": 309.4
  },
  "luminance": 0.22811
}

Semantic roles & 50–950 ramp

primary
#B457F0
secondary
#CCECB7
accent
#E0055B
background
#FDF8FF
surface
#FAF0FF
border
#D3CBD7
text
#140C17
muted
#837D85

Preview Lab

Preview with #B457F0

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

Preview Lab → · Contrast checker → · Palette generator →

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