#B657CB#B657CB

#B657CB is a mid, vivid purple. Relative luminance 0.211; OKLCH L 61.9% C 0.190 H 320.1°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#B657CB
RGBrgb(182, 87, 203)
HSLhsl(289, 53%, 57%)
HSVhsv(289, 57%, 80%)
CMYKcmyk(10.3%, 57.1%, 0%, 20.4%)
CIE-LABlab(53.03, 55.56, -43.84)
CIE-LCHlch(53.03, 70.78, 321.72°)
OKLaboklab(61.86% 0.1457 -0.122)
OKLCHoklch(61.86% 0.19 320.1)
XYZxyz(33.4778, 21.0747, 58.7927)
Luminance0.2107 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B657CB #6CCB57
analogous
#7C57CB #B657CB #CB57A6
triadic
#B657CB #CBB657 #57CBB6
tetradic
#B657CB #CB7C57 #6CCB57 #57A6CB
square
#B657CB #CB7C57 #6CCB57 #57A6CB
split-complementary
#B657CB #A6CB57 #57CB7C
monochromatic
#702880 #9936AF #B657CB #CA86D9 #DFB4E8

Accessibility & contrast

On white

4.03
#B657CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.21
#B657CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B657CB
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B657CB#FFFFFF#000000##000000
##B657CB1.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F78CF
Deuteranopia (green-blind)
#6082C8
Tritanopia (blue-blind)
#B76989
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #b657cb;
/* rgb */ color: rgb(182, 87, 203);
/* oklch */ color: oklch(61.9% 0.190 320.1);
Tailwind
colors: {
  custom: {
    50: '#cf8bdb',
    500: '#b657cb',
    950: '#000000',
  },
}
SCSS
$custom: #b657cb;
$custom-light: #cf8bdb;
$custom-dark: #000000;
JSON
{
  "hex": "#b657cb",
  "rgb": {
    "r": 182,
    "g": 87,
    "b": 203
  },
  "hsl": {
    "h": 289.138,
    "s": 52.727,
    "l": 56.863
  },
  "oklch": {
    "l": 0.61862,
    "c": 0.18999,
    "h": 320.1
  },
  "luminance": 0.21073
}

Semantic roles & 50–950 ramp

primary
#B657CB
secondary
#B0D7A7
accent
#DC4C66
background
#FDF8FD
surface
#FAF0FB
border
#D3CBD4
text
#140C15
muted
#837D83

Preview Lab

Preview with #B657CB

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

Preview Lab → · Contrast checker → · Palette generator →

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