#B957F0#B957F0

#B957F0 is a light, highly saturated violet. Relative luminance 0.234; OKLCH L 64.4% C 0.227 H 311.1°. Best body text is #000000 at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#B957F0
RGBrgb(185, 87, 240)
HSLhsl(278, 84%, 64%)
HSVhsv(278, 64%, 94%)
CMYKcmyk(22.9%, 63.7%, 0%, 5.9%)
CIE-LABlab(55.51, 63.78, -60.78)
CIE-LCHlch(55.51, 88.11, 316.38°)
OKLaboklab(64.41% 0.1495 -0.1714)
OKLCHoklch(64.41% 0.227 311.1)
XYZxyz(39.1410, 23.4229, 84.8803)
Luminance0.2342 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B957F0 #8EF057
analogous
#6D57F0 #B957F0 #F057DB
triadic
#B957F0 #F0B957 #57F0B9
tetradic
#B957F0 #F06D57 #8EF057 #57DBF0
square
#B957F0 #F06D57 #8EF057 #57DBF0
split-complementary
#B957F0 #DBF057 #57F06D
monochromatic
#7E11BC #A21FEB #B957F0 #D08FF5 #E8C7FA

Accessibility & contrast

On white

3.69
#B957F0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.68
#B957F0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B957F0
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B957F0#FFFFFF#000000##000000
##B957F01.003.695.685.68
#FFFFFF3.691.0021.0021.00
#0000005.6821.001.001.00
##0000005.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0080F5
Deuteranopia (green-blind)
#4687EC
Tritanopia (blue-blind)
#B2759C
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #b957f0;
/* rgb */ color: rgb(185, 87, 240);
/* oklch */ color: oklch(64.4% 0.227 311.1);
Tailwind
colors: {
  custom: {
    50: '#d28cf6',
    500: '#b957f0',
    950: '#000000',
  },
}
SCSS
$custom: #b957f0;
$custom-light: #d28cf6;
$custom-dark: #000000;
JSON
{
  "hex": "#b957f0",
  "rgb": {
    "r": 185,
    "g": 87,
    "b": 240
  },
  "hsl": {
    "h": 278.431,
    "s": 83.607,
    "l": 64.118
  },
  "oklch": {
    "l": 0.64412,
    "c": 0.22743,
    "h": 311.1
  },
  "luminance": 0.23422
}

Semantic roles & 50–950 ramp

primary
#B957F0
secondary
#CAECB7
accent
#E00554
background
#FDF8FF
surface
#FAF0FF
border
#D3CBD7
text
#150D17
muted
#837D85

Preview Lab

Preview with #B957F0

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

Preview Lab → · Contrast checker → · Palette generator →

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