#B657CA#B657CA

#B657CA is a mid, vivid purple. Relative luminance 0.210; OKLCH L 61.8% C 0.189 H 320.4°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#B657CA
RGBrgb(182, 87, 202)
HSLhsl(290, 52%, 57%)
HSVhsv(290, 57%, 79%)
CMYKcmyk(9.9%, 56.9%, 0%, 20.8%)
CIE-LABlab(52.98, 55.37, -43.35)
CIE-LCHlch(52.98, 70.32, 321.94°)
OKLaboklab(61.81% 0.1456 -0.1205)
OKLCHoklch(61.81% 0.189 320.4)
XYZxyz(33.3590, 21.0272, 58.1671)
Luminance0.2103 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B657CA #6BCA57
analogous
#7D57CA #B657CA #CA57A5
triadic
#B657CA #CAB657 #57CAB6
tetradic
#B657CA #CA7D57 #6BCA57 #57A5CA
square
#B657CA #CA7D57 #6BCA57 #57A5CA
split-complementary
#B657CA #A5CA57 #57CA7D
monochromatic
#70287F #9937AD #B657CA #CA86D9 #DEB4E7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B657CA#FFFFFF#000000##000000
##B657CA1.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)
#4078CE
Deuteranopia (green-blind)
#6182C7
Tritanopia (blue-blind)
#B76888
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #b657ca;
/* rgb */ color: rgb(182, 87, 202);
/* oklch */ color: oklch(61.8% 0.189 320.4);
Tailwind
colors: {
  custom: {
    50: '#ce8bda',
    500: '#b657ca',
    950: '#000000',
  },
}
SCSS
$custom: #b657ca;
$custom-light: #ce8bda;
$custom-dark: #000000;
JSON
{
  "hex": "#b657ca",
  "rgb": {
    "r": 182,
    "g": 87,
    "b": 202
  },
  "hsl": {
    "h": 289.565,
    "s": 52.036,
    "l": 56.667
  },
  "oklch": {
    "l": 0.61808,
    "c": 0.18902,
    "h": 320.4
  },
  "luminance": 0.21026
}

Semantic roles & 50–950 ramp

primary
#B657CA
secondary
#AFD6A7
accent
#DB4C65
background
#FDF8FD
surface
#FAF0FB
border
#D3CBD4
text
#140C15
muted
#837D83

Preview Lab

Preview with #B657CA

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

Preview Lab → · Contrast checker → · Palette generator →

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