#B657F2#B657F2

#B657F2 is a light, highly saturated violet. Relative luminance 0.232; OKLCH L 64.2% C 0.228 H 309.6°. Best body text is #000000 at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#B657F2
RGBrgb(182, 87, 242)
HSLhsl(277, 86%, 65%)
HSVhsv(277, 64%, 95%)
CMYKcmyk(24.8%, 64%, 0%, 5.1%)
CIE-LABlab(55.25, 63.55, -62.33)
CIE-LCHlch(55.25, 89.02, 315.56°)
OKLaboklab(64.19% 0.1457 -0.176)
OKLCHoklch(64.19% 0.228 309.6)
XYZxyz(38.7235, 23.1730, 86.4201)
Luminance0.2317 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B657F2 #93F257
analogous
#6957F2 #B657F2 #F257E1
triadic
#B657F2 #F2B657 #57F2B6
tetradic
#B657F2 #F26957 #93F257 #57E1F2
square
#B657F2 #F26957 #93F257 #57E1F2
split-complementary
#B657F2 #E1F257 #57F269
monochromatic
#7B0FC0 #9D1EEE #B657F2 #CF90F6 #E7C9FB

Accessibility & contrast

On white

3.73
#B657F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.63
#B657F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B657F2
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B657F2#FFFFFF#000000##000000
##B657F21.003.735.635.63
#FFFFFF3.731.0021.0021.00
#0000005.6321.001.001.00
##0000005.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0080F7
Deuteranopia (green-blind)
#4086EE
Tritanopia (blue-blind)
#AE779D
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #b657f2;
/* rgb */ color: rgb(182, 87, 242);
/* oklch */ color: oklch(64.2% 0.228 309.6);
Tailwind
colors: {
  custom: {
    50: '#d08cf7',
    500: '#b657f2',
    950: '#000000',
  },
}
SCSS
$custom: #b657f2;
$custom-light: #d08cf7;
$custom-dark: #000000;
JSON
{
  "hex": "#b657f2",
  "rgb": {
    "r": 182,
    "g": 87,
    "b": 242
  },
  "hsl": {
    "h": 276.774,
    "s": 85.635,
    "l": 64.51
  },
  "oklch": {
    "l": 0.64187,
    "c": 0.22848,
    "h": 309.6
  },
  "luminance": 0.23172
}

Semantic roles & 50–950 ramp

primary
#B657F2
secondary
#CCEDB8
accent
#E2035A
background
#FDF8FF
surface
#FAF0FF
border
#D3CBD7
text
#140C17
muted
#837D85

Preview Lab

Preview with #B657F2

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

Preview Lab → · Contrast checker → · Palette generator →

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