#B57BF2#B57BF2

#B57BF2 is a light, vivid violet. Relative luminance 0.304; OKLCH L 69.1% C 0.176 H 304.7°. Best body text is #000000 at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#B57BF2
RGBrgb(181, 123, 242)
HSLhsl(269, 82%, 72%)
HSVhsv(269, 49%, 95%)
CMYKcmyk(25.2%, 49.2%, 0%, 5.1%)
CIE-LABlab(62.00, 45.13, -51.56)
CIE-LCHlch(62.00, 68.52, 311.20°)
OKLaboklab(69.11% 0.1003 -0.1446)
OKLCHoklch(69.11% 0.176 304.7)
XYZxyz(42.1626, 30.4007, 87.6339)
Luminance0.3040 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B57BF2 #B8F27B
analogous
#7B7DF2 #B57BF2 #F17BF2
triadic
#B57BF2 #F2B57B #7BF2B5
tetradic
#B57BF2 #F27B7D #B8F27B #7BF2F1
square
#B57BF2 #F27B7D #B8F27B #7BF2F1
split-complementary
#B57BF2 #F2F17B #7DF27B
monochromatic
#7716DD #9643ED #B57BF2 #D4B3F7 #EFE3FC

Accessibility & contrast

On white

2.97
#B57BF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.08
#B57BF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B57BF2
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B57BF2#FFFFFF#000000##000000
##B57BF21.002.977.087.08
#FFFFFF2.971.0021.0021.00
#0000007.0821.001.001.00
##0000007.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5894F6
Deuteranopia (green-blind)
#6896EF
Tritanopia (blue-blind)
#AB90AB
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #b57bf2;
/* rgb */ color: rgb(181, 123, 242);
/* oklch */ color: oklch(69.1% 0.176 304.7);
Tailwind
colors: {
  custom: {
    50: '#cea2f7',
    500: '#b57bf2',
    950: '#000000',
  },
}
SCSS
$custom: #b57bf2;
$custom-light: #cea2f7;
$custom-dark: #000000;
JSON
{
  "hex": "#b57bf2",
  "rgb": {
    "r": 181,
    "g": 123,
    "b": 242
  },
  "hsl": {
    "h": 269.244,
    "s": 82.069,
    "l": 71.569
  },
  "oklch": {
    "l": 0.69106,
    "c": 0.17599,
    "h": 304.7
  },
  "luminance": 0.304
}

Semantic roles & 50–950 ramp

primary
#B57BF2
secondary
#E5F4D5
accent
#DE0775
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#140F17
muted
#827F85

Preview Lab

Preview with #B57BF2

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

Preview Lab → · Contrast checker → · Palette generator →

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