#B957EB#B957EB

#B957EB is a light, highly saturated violet. Relative luminance 0.231; OKLCH L 64.1% C 0.223 H 312.3°. Best body text is #000000 at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#B957EB
RGBrgb(185, 87, 235)
HSLhsl(280, 79%, 63%)
HSVhsv(280, 63%, 92%)
CMYKcmyk(21.3%, 63%, 0%, 7.8%)
CIE-LABlab(55.21, 62.74, -58.47)
CIE-LCHlch(55.21, 85.76, 317.02°)
OKLaboklab(64.1% 0.1497 -0.1646)
OKLCHoklch(64.1% 0.223 312.3)
XYZxyz(38.4085, 23.1298, 81.0224)
Luminance0.2313 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B957EB #89EB57
analogous
#6F57EB #B957EB #EB57D3
triadic
#B957EB #EBB957 #57EBB9
tetradic
#B957EB #EB6F57 #89EB57 #57D3EB
square
#B957EB #EB6F57 #89EB57 #57D3EB
split-complementary
#B957EB #D3EB57 #57EB6F
monochromatic
#7D15B2 #A220E4 #B957EB #D08EF2 #E7C4F8

Accessibility & contrast

On white

3.73
#B957EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.63
#B957EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B957EB
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B957EB#FFFFFF#000000##000000
##B957EB1.003.735.635.63
#FFFFFF3.731.0021.0021.00
#0000005.6321.001.001.00
##0000005.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0D7FF0
Deuteranopia (green-blind)
#4B86E8
Tritanopia (blue-blind)
#B37499
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #b957eb;
/* rgb */ color: rgb(185, 87, 235);
/* oklch */ color: oklch(64.1% 0.223 312.3);
Tailwind
colors: {
  custom: {
    50: '#d28cf2',
    500: '#b957eb',
    950: '#000000',
  },
}
SCSS
$custom: #b957eb;
$custom-light: #d28cf2;
$custom-dark: #000000;
JSON
{
  "hex": "#b957eb",
  "rgb": {
    "r": 185,
    "g": 87,
    "b": 235
  },
  "hsl": {
    "h": 279.73,
    "s": 78.723,
    "l": 63.137
  },
  "oklch": {
    "l": 0.641,
    "c": 0.2225,
    "h": 312.3
  },
  "luminance": 0.23129
}

Semantic roles & 50–950 ramp

primary
#B957EB
secondary
#C6E9B4
accent
#DB0A51
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#140C17
muted
#837D85

Preview Lab

Preview with #B957EB

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

Preview Lab → · Contrast checker → · Palette generator →

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