#B657EC#B657EC

#B657EC is a light, highly saturated violet. Relative luminance 0.228; OKLCH L 63.8% C 0.222 H 311.0°. Best body text is #000000 at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#B657EC
RGBrgb(182, 87, 236)
HSLhsl(278, 80%, 63%)
HSVhsv(278, 63%, 93%)
CMYKcmyk(22.9%, 63.1%, 0%, 7.5%)
CIE-LABlab(54.88, 62.28, -59.56)
CIE-LCHlch(54.88, 86.18, 316.28°)
OKLaboklab(63.81% 0.146 -0.1679)
OKLCHoklch(63.81% 0.222 311)
XYZxyz(37.8371, 22.8185, 81.7518)
Luminance0.2282 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B657EC #8DEC57
analogous
#6B57EC #B657EC #EC57D7
triadic
#B657EC #ECB657 #57ECB6
tetradic
#B657EC #EC6B57 #8DEC57 #57D7EC
square
#B657EC #EC6B57 #8DEC57 #57D7EC
split-complementary
#B657EC #D7EC57 #57EC6B
monochromatic
#7A14B4 #9E20E6 #B657EC #CE8EF2 #E6C5F8

Accessibility & contrast

On white

3.77
#B657EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.56
#B657EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B657EC
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B657EC#FFFFFF#000000##000000
##B657EC1.003.775.565.56
#FFFFFF3.771.0021.0021.00
#0000005.5621.001.001.00
##0000005.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#007FF1
Deuteranopia (green-blind)
#4785E9
Tritanopia (blue-blind)
#AF749A
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #b657ec;
/* rgb */ color: rgb(182, 87, 236);
/* oklch */ color: oklch(63.8% 0.222 311.0);
Tailwind
colors: {
  custom: {
    50: '#d08cf3',
    500: '#b657ec',
    950: '#000000',
  },
}
SCSS
$custom: #b657ec;
$custom-light: #d08cf3;
$custom-dark: #000000;
JSON
{
  "hex": "#b657ec",
  "rgb": {
    "r": 182,
    "g": 87,
    "b": 236
  },
  "hsl": {
    "h": 278.255,
    "s": 79.679,
    "l": 63.333
  },
  "oklch": {
    "l": 0.63806,
    "c": 0.22249,
    "h": 311
  },
  "luminance": 0.22818
}

Semantic roles & 50–950 ramp

primary
#B657EC
secondary
#C8EAB5
accent
#DC0A56
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#140C17
muted
#837D85

Preview Lab

Preview with #B657EC

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

Preview Lab → · Contrast checker → · Palette generator →

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