#B758F2#B758F2

#B758F2 is a light, highly saturated violet. Relative luminance 0.235; OKLCH L 64.4% C 0.227 H 309.9°. Best body text is #000000 at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#B758F2
RGBrgb(183, 88, 242)
HSLhsl(277, 86%, 65%)
HSVhsv(277, 64%, 95%)
CMYKcmyk(24.4%, 63.6%, 0%, 5.1%)
CIE-LABlab(55.54, 63.31, -61.85)
CIE-LCHlch(55.54, 88.51, 315.67°)
OKLaboklab(64.42% 0.1458 -0.1746)
OKLCHoklch(64.42% 0.227 309.9)
XYZxyz(39.0421, 23.4583, 86.4584)
Luminance0.2346 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B758F2 #93F258
analogous
#6A58F2 #B758F2 #F258E0
triadic
#B758F2 #F2B758 #58F2B7
tetradic
#B758F2 #F26A58 #93F258 #58E0F2
square
#B758F2 #F26A58 #93F258 #58E0F2
split-complementary
#B758F2 #E0F258 #58F26A
monochromatic
#7D0FC1 #9F1FEE #B758F2 #CF91F6 #E8CAFB

Accessibility & contrast

On white

3.69
#B758F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.69
#B758F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B758F2
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B758F2#FFFFFF#000000##000000
##B758F21.003.695.695.69
#FFFFFF3.691.0021.0021.00
#0000005.6921.001.001.00
##0000005.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0081F7
Deuteranopia (green-blind)
#4387EE
Tritanopia (blue-blind)
#AF779E
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #b758f2;
/* rgb */ color: rgb(183, 88, 242);
/* oklch */ color: oklch(64.4% 0.227 309.9);
Tailwind
colors: {
  custom: {
    50: '#d18df7',
    500: '#b758f2',
    950: '#000000',
  },
}
SCSS
$custom: #b758f2;
$custom-light: #d18df7;
$custom-dark: #000000;
JSON
{
  "hex": "#b758f2",
  "rgb": {
    "r": 183,
    "g": 88,
    "b": 242
  },
  "hsl": {
    "h": 277.013,
    "s": 85.556,
    "l": 64.706
  },
  "oklch": {
    "l": 0.64423,
    "c": 0.22748,
    "h": 309.9
  },
  "luminance": 0.23458
}

Semantic roles & 50–950 ramp

primary
#B758F2
secondary
#CDEDB8
accent
#E20359
background
#FDF8FF
surface
#FAF0FF
border
#D3CBD7
text
#140D17
muted
#837D85

Preview Lab

Preview with #B758F2

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

Preview Lab → · Contrast checker → · Palette generator →

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