#B752F6#B752F6

#B752F6 is a light, highly saturated violet. Relative luminance 0.228; OKLCH L 64.0% C 0.239 H 309.5°. Best body text is #000000 at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#B752F6
RGBrgb(183, 82, 246)
HSLhsl(277, 90%, 64%)
HSVhsv(277, 67%, 96%)
CMYKcmyk(25.6%, 66.7%, 0%, 3.5%)
CIE-LABlab(54.82, 66.85, -65.24)
CIE-LCHlch(54.82, 93.41, 315.69°)
OKLaboklab(63.99% 0.152 -0.1845)
OKLCHoklch(63.99% 0.239 309.5)
XYZxyz(39.1770, 22.7564, 89.4995)
Luminance0.2276 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B752F6 #91F652
analogous
#6552F6 #B752F6 #F652E3
triadic
#B752F6 #F6B752 #52F6B7
tetradic
#B752F6 #F66552 #91F652 #52E3F6
square
#B752F6 #F66552 #91F652 #52E3F6
split-complementary
#B752F6 #E3F652 #52F665
monochromatic
#7C0AC3 #9F18F3 #B752F6 #CF8CF9 #E7C6FC

Accessibility & contrast

On white

3.78
#B752F6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.55
#B752F6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B752F6
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B752F6#FFFFFF#000000##000000
##B752F61.003.785.555.55
#FFFFFF3.781.0021.0021.00
#0000005.5521.001.001.00
##0000005.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#007FFB
Deuteranopia (green-blind)
#3685F2
Tritanopia (blue-blind)
#AE759E
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #b752f6;
/* rgb */ color: rgb(183, 82, 246);
/* oklch */ color: oklch(64.0% 0.239 309.5);
Tailwind
colors: {
  custom: {
    50: '#d189fa',
    500: '#b752f6',
    950: '#000000',
  },
}
SCSS
$custom: #b752f6;
$custom-light: #d189fa;
$custom-dark: #000000;
JSON
{
  "hex": "#b752f6",
  "rgb": {
    "r": 183,
    "g": 82,
    "b": 246
  },
  "hsl": {
    "h": 276.951,
    "s": 90.11,
    "l": 64.314
  },
  "oklch": {
    "l": 0.63985,
    "c": 0.23906,
    "h": 309.5
  },
  "luminance": 0.22756
}

Semantic roles & 50–950 ramp

primary
#B752F6
secondary
#CBEEB5
accent
#E60058
background
#FDF8FF
surface
#FAF0FF
border
#D3CBD7
text
#150C17
muted
#837D85

Preview Lab

Preview with #B752F6

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

Preview Lab → · Contrast checker → · Palette generator →

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