#B157DF#B157DF

#B157DF is a light, highly saturated violet. Relative luminance 0.215; OKLCH L 62.4% C 0.208 H 312.4°. Best body text is #000000 at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#B157DF
RGBrgb(177, 87, 223)
HSLhsl(280, 68%, 61%)
HSVhsv(280, 61%, 87%)
CMYKcmyk(20.6%, 61%, 0%, 12.5%)
CIE-LABlab(53.48, 58.39, -54.53)
CIE-LCHlch(53.48, 79.90, 316.96°)
OKLaboklab(62.41% 0.1402 -0.1533)
OKLCHoklch(62.41% 0.208 312.4)
XYZxyz(34.8566, 21.4921, 72.1099)
Luminance0.2149 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B157DF #85DF57
analogous
#6D57DF #B157DF #DF57C9
triadic
#B157DF #DFB157 #57DFB1
tetradic
#B157DF #DF6D57 #85DF57 #57C9DF
square
#B157DF #DF6D57 #85DF57 #57C9DF
split-complementary
#B157DF #C9DF57 #57DF6D
monochromatic
#721E9E #9828D1 #B157DF #C98AE9 #E1BEF3

Accessibility & contrast

On white

3.96
#B157DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.30
#B157DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B157DF
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B157DF#FFFFFF#000000##000000
##B157DF1.003.965.305.30
#FFFFFF3.961.0021.0021.00
#0000005.3021.001.001.00
##0000005.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#227BE3
Deuteranopia (green-blind)
#4E82DC
Tritanopia (blue-blind)
#AC7093
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #b157df;
/* rgb */ color: rgb(177, 87, 223);
/* oklch */ color: oklch(62.4% 0.208 312.4);
Tailwind
colors: {
  custom: {
    50: '#cc8bea',
    500: '#b157df',
    950: '#000000',
  },
}
SCSS
$custom: #b157df;
$custom-light: #cc8bea;
$custom-dark: #000000;
JSON
{
  "hex": "#b157df",
  "rgb": {
    "r": 177,
    "g": 87,
    "b": 223
  },
  "hsl": {
    "h": 279.706,
    "s": 68,
    "l": 60.784
  },
  "oklch": {
    "l": 0.62411,
    "c": 0.20772,
    "h": 312.4
  },
  "luminance": 0.21491
}

Semantic roles & 50–950 ramp

primary
#B157DF
secondary
#C1E3AF
accent
#D01655
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140C16
muted
#827D84

Preview Lab

Preview with #B157DF

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

Preview Lab → · Contrast checker → · Palette generator →

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