#B57CFC#B57CFC

#B57CFC is a light, vivid violet. Relative luminance 0.313; OKLCH L 69.8% C 0.186 H 302.4°. Best body text is #000000 at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#B57CFC
RGBrgb(181, 124, 252)
HSLhsl(267, 96%, 74%)
HSVhsv(267, 51%, 99%)
CMYKcmyk(28.2%, 50.8%, 0%, 1.2%)
CIE-LABlab(62.73, 46.93, -55.90)
CIE-LCHlch(62.73, 72.99, 310.01°)
OKLaboklab(69.82% 0.0998 -0.1573)
OKLCHoklch(69.82% 0.186 302.4)
XYZxyz(43.8304, 31.2673, 95.8027)
Luminance0.3127 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B57CFC #C3FC7C
analogous
#7C83FC #B57CFC #F57CFC
triadic
#B57CFC #FCB57C #7CFCB5
tetradic
#B57CFC #FC7C83 #C3FC7C #7CFCF5
square
#B57CFC #FC7C83 #C3FC7C #7CFCF5
split-complementary
#B57CFC #FCF57C #83FC7C
monochromatic
#7206F8 #9340FB #B57CFC #D7B8FD #EEE1FE

Accessibility & contrast

On white

2.90
#B57CFC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.25
#B57CFC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B57CFC
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B57CFC#FFFFFF#000000##000000
##B57CFC1.002.907.257.25
#FFFFFF2.901.0021.0021.00
#0000007.2521.001.001.00
##0000007.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5197FF
Deuteranopia (green-blind)
#6297F9
Tritanopia (blue-blind)
#A894B1
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #b57cfc;
/* rgb */ color: rgb(181, 124, 252);
/* oklch */ color: oklch(69.8% 0.186 302.4);
Tailwind
colors: {
  custom: {
    50: '#cea3fe',
    500: '#b57cfc',
    950: '#000000',
  },
}
SCSS
$custom: #b57cfc;
$custom-light: #cea3fe;
$custom-dark: #000000;
JSON
{
  "hex": "#b57cfc",
  "rgb": {
    "r": 181,
    "g": 124,
    "b": 252
  },
  "hsl": {
    "h": 266.719,
    "s": 95.522,
    "l": 73.725
  },
  "oklch": {
    "l": 0.69821,
    "c": 0.18632,
    "h": 302.4
  },
  "luminance": 0.31267
}

Semantic roles & 50–950 ramp

primary
#B57CFC
secondary
#E7F7D4
accent
#E6007F
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#140F18
muted
#837F86

Preview Lab

Preview with #B57CFC

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

Preview Lab → · Contrast checker → · Palette generator →

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