#B757F2#B757F2

#B757F2 is a light, highly saturated violet. Relative luminance 0.233; OKLCH L 64.3% C 0.229 H 310.0°. Best body text is #000000 at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#B757F2
RGBrgb(183, 87, 242)
HSLhsl(277, 86%, 65%)
HSVhsv(277, 64%, 95%)
CMYKcmyk(24.4%, 64%, 0%, 5.1%)
CIE-LABlab(55.38, 63.77, -62.12)
CIE-LCHlch(55.38, 89.03, 315.75°)
OKLaboklab(64.3% 0.1469 -0.1754)
OKLCHoklch(64.3% 0.229 310)
XYZxyz(38.9605, 23.2953, 86.4312)
Luminance0.2329 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B757F2 #92F257
analogous
#6A57F2 #B757F2 #F257E0
triadic
#B757F2 #F2B757 #57F2B7
tetradic
#B757F2 #F26A57 #92F257 #57E0F2
square
#B757F2 #F26A57 #92F257 #57E0F2
split-complementary
#B757F2 #E0F257 #57F26A
monochromatic
#7C0FC0 #9F1EEE #B757F2 #CF90F6 #E8C9FB

Accessibility & contrast

On white

3.71
#B757F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.66
#B757F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B757F2
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B757F2#FFFFFF#000000##000000
##B757F21.003.715.665.66
#FFFFFF3.711.0021.0021.00
#0000005.6621.001.001.00
##0000005.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0080F7
Deuteranopia (green-blind)
#4186EE
Tritanopia (blue-blind)
#AF769D
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #b757f2;
/* rgb */ color: rgb(183, 87, 242);
/* oklch */ color: oklch(64.3% 0.229 310.0);
Tailwind
colors: {
  custom: {
    50: '#d18cf7',
    500: '#b757f2',
    950: '#000000',
  },
}
SCSS
$custom: #b757f2;
$custom-light: #d18cf7;
$custom-dark: #000000;
JSON
{
  "hex": "#b757f2",
  "rgb": {
    "r": 183,
    "g": 87,
    "b": 242
  },
  "hsl": {
    "h": 277.161,
    "s": 85.635,
    "l": 64.51
  },
  "oklch": {
    "l": 0.64304,
    "c": 0.22879,
    "h": 310
  },
  "luminance": 0.23294
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B757F2

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

Preview Lab → · Contrast checker → · Palette generator →

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