#B457FA#B457FA

#B457FA is a light, highly saturated violet. Relative luminance 0.234; OKLCH L 64.5% C 0.236 H 307.2°. Best body text is #000000 at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#B457FA
RGBrgb(180, 87, 250)
HSLhsl(274, 94%, 66%)
HSVhsv(274, 65%, 98%)
CMYKcmyk(28%, 65.2%, 0%, 2%)
CIE-LABlab(55.50, 64.86, -66.38)
CIE-LCHlch(55.50, 92.81, 314.34°)
OKLaboklab(64.48% 0.1426 -0.188)
OKLCHoklch(64.48% 0.236 307.2)
XYZxyz(39.4823, 23.4223, 92.8649)
Luminance0.2342 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B457FA #9DFA57
analogous
#6257FA #B457FA #FA57EF
triadic
#B457FA #FAB457 #57FAB4
tetradic
#B457FA #FA6257 #9DFA57 #57EFFA
square
#B457FA #FA6257 #9DFA57 #57EFFA
split-complementary
#B457FA #EFFA57 #57FA62
monochromatic
#7A06D0 #991CF8 #B457FA #CF92FC #E9CEFE

Accessibility & contrast

On white

3.69
#B457FA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.68
#B457FA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B457FA
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B457FA#FFFFFF#000000##000000
##B457FA1.003.695.685.68
#FFFFFF3.691.0021.0021.00
#0000005.6821.001.001.00
##0000005.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0082FF
Deuteranopia (green-blind)
#3286F6
Tritanopia (blue-blind)
#A97AA1
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #b457fa;
/* rgb */ color: rgb(180, 87, 250);
/* oklch */ color: oklch(64.5% 0.236 307.2);
Tailwind
colors: {
  custom: {
    50: '#cf8cfd',
    500: '#b457fa',
    950: '#000000',
  },
}
SCSS
$custom: #b457fa;
$custom-light: #cf8cfd;
$custom-dark: #000000;
JSON
{
  "hex": "#b457fa",
  "rgb": {
    "r": 180,
    "g": 87,
    "b": 250
  },
  "hsl": {
    "h": 274.233,
    "s": 94.22,
    "l": 66.078
  },
  "oklch": {
    "l": 0.64477,
    "c": 0.23594,
    "h": 307.2
  },
  "luminance": 0.23422
}

Semantic roles & 50–950 ramp

primary
#B457FA
secondary
#D3F1BC
accent
#E60063
background
#FDF8FF
surface
#FAF0FF
border
#D3CBD7
text
#140C18
muted
#837D86

Preview Lab

Preview with #B457FA

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

Preview Lab → · Contrast checker → · Palette generator →

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