#B457F2#B457F2

#B457F2 is a light, highly saturated violet. Relative luminance 0.229; OKLCH L 64.0% C 0.228 H 308.9°. Best body text is #000000 at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#B457F2
RGBrgb(180, 87, 242)
HSLhsl(276, 86%, 65%)
HSVhsv(276, 64%, 95%)
CMYKcmyk(25.6%, 64%, 0%, 5.1%)
CIE-LABlab(55.00, 63.12, -62.74)
CIE-LCHlch(55.00, 89.00, 315.17°)
OKLaboklab(63.95% 0.1432 -0.1773)
OKLCHoklch(63.95% 0.228 308.9)
XYZxyz(38.2544, 22.9311, 86.3981)
Luminance0.2293 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B457F2 #95F257
analogous
#6757F2 #B457F2 #F257E2
triadic
#B457F2 #F2B457 #57F2B4
tetradic
#B457F2 #F26757 #95F257 #57E2F2
square
#B457F2 #F26757 #95F257 #57E2F2
split-complementary
#B457F2 #E2F257 #57F267
monochromatic
#790FC0 #9B1EEE #B457F2 #CD90F6 #E7C9FB

Accessibility & contrast

On white

3.76
#B457F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.59
#B457F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B457F2
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B457F2#FFFFFF#000000##000000
##B457F21.003.765.595.59
#FFFFFF3.761.0021.0021.00
#0000005.5921.001.001.00
##0000005.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0080F7
Deuteranopia (green-blind)
#3D85EE
Tritanopia (blue-blind)
#AB779D
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #b457f2;
/* rgb */ color: rgb(180, 87, 242);
/* oklch */ color: oklch(64.0% 0.228 308.9);
Tailwind
colors: {
  custom: {
    50: '#cf8cf7',
    500: '#b457f2',
    950: '#000000',
  },
}
SCSS
$custom: #b457f2;
$custom-light: #cf8cf7;
$custom-dark: #000000;
JSON
{
  "hex": "#b457f2",
  "rgb": {
    "r": 180,
    "g": 87,
    "b": 242
  },
  "hsl": {
    "h": 276,
    "s": 85.635,
    "l": 64.51
  },
  "oklch": {
    "l": 0.63954,
    "c": 0.22789,
    "h": 308.9
  },
  "luminance": 0.2293
}

Semantic roles & 50–950 ramp

primary
#B457F2
secondary
#CDEDB8
accent
#E2035C
background
#FDF8FF
surface
#FAF0FF
border
#D3CBD7
text
#140C17
muted
#837D85

Preview Lab

Preview with #B457F2

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

Preview Lab → · Contrast checker → · Palette generator →

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