#B657FB#B657FB

#B657FB is a light, highly saturated violet. Relative luminance 0.237; OKLCH L 64.8% C 0.237 H 307.6°. Best body text is #000000 at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#B657FB
RGBrgb(182, 87, 251)
HSLhsl(275, 95%, 66%)
HSVhsv(275, 65%, 98%)
CMYKcmyk(27.5%, 65.3%, 0%, 1.6%)
CIE-LABlab(55.81, 65.49, -66.43)
CIE-LCHlch(55.81, 93.28, 314.59°)
OKLaboklab(64.77% 0.145 -0.188)
OKLCHoklch(64.77% 0.237 307.6)
XYZxyz(40.1086, 23.7271, 93.7149)
Luminance0.2373 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B657FB #9CFB57
analogous
#6457FB #B657FB #FB57EE
triadic
#B657FB #FBB657 #57FBB6
tetradic
#B657FB #FB6457 #9CFB57 #57EEFB
square
#B657FB #FB6457 #9CFB57 #57EEFB
split-complementary
#B657FB #EEFB57 #57FB64
monochromatic
#7C05D3 #9C1BFA #B657FB #D093FC #EACFFE

Accessibility & contrast

On white

3.66
#B657FB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.75
#B657FB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B657FB
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B657FB#FFFFFF#000000##000000
##B657FB1.003.665.755.75
#FFFFFF3.661.0021.0021.00
#0000005.7521.001.001.00
##0000005.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0082FF
Deuteranopia (green-blind)
#3487F7
Tritanopia (blue-blind)
#AB7AA2
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #b657fb;
/* rgb */ color: rgb(182, 87, 251);
/* oklch */ color: oklch(64.8% 0.237 307.6);
Tailwind
colors: {
  custom: {
    50: '#d18cfd',
    500: '#b657fb',
    950: '#000000',
  },
}
SCSS
$custom: #b657fb;
$custom-light: #d18cfd;
$custom-dark: #000000;
JSON
{
  "hex": "#b657fb",
  "rgb": {
    "r": 182,
    "g": 87,
    "b": 251
  },
  "hsl": {
    "h": 274.756,
    "s": 95.349,
    "l": 66.275
  },
  "oklch": {
    "l": 0.64772,
    "c": 0.23748,
    "h": 307.6
  },
  "luminance": 0.23727
}

Semantic roles & 50–950 ramp

primary
#B657FB
secondary
#D3F2BC
accent
#E60061
background
#FDF8FF
surface
#FAF0FF
border
#D3CBD7
text
#140D18
muted
#837D86

Preview Lab

Preview with #B657FB

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

Preview Lab → · Contrast checker → · Palette generator →

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