#B752FF#B752FF

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

Color values

HEX#B752FF
RGBrgb(183, 82, 255)
HSLhsl(275, 100%, 66%)
HSVhsv(275, 68%, 100%)
CMYKcmyk(28.2%, 67.8%, 0%, 0%)
CIE-LABlab(55.40, 68.76, -69.30)
CIE-LCHlch(55.40, 97.63, 314.78°)
OKLaboklab(64.59% 0.1511 -0.1964)
OKLCHoklch(64.59% 0.248 307.6)
XYZxyz(40.5920, 23.3224, 96.9516)
Luminance0.2332 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B752FF #9AFF52
analogous
#6052FF #B752FF #FF52F0
triadic
#B752FF #FFB752 #52FFB7
tetradic
#B752FF #FF6052 #9AFF52 #52F0FF
square
#B752FF #FF6052 #9AFF52 #52F0FF
split-complementary
#B752FF #F0FF52 #52FF60
monochromatic
#7D00D7 #9E15FF #B752FF #D08FFF #EACCFF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B752FF#FFFFFF#000000##000000
##B752FF1.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)
#0081FF
Deuteranopia (green-blind)
#2586FB
Tritanopia (blue-blind)
#AB78A3
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #b752ff;
/* rgb */ color: rgb(183, 82, 255);
/* oklch */ color: oklch(64.6% 0.248 307.6);
Tailwind
colors: {
  custom: {
    50: '#d28aff',
    500: '#b752ff',
    950: '#000000',
  },
}
SCSS
$custom: #b752ff;
$custom-light: #d28aff;
$custom-dark: #000000;
JSON
{
  "hex": "#b752ff",
  "rgb": {
    "r": 183,
    "g": 82,
    "b": 255
  },
  "hsl": {
    "h": 275.029,
    "s": 100,
    "l": 66.078
  },
  "oklch": {
    "l": 0.64586,
    "c": 0.24781,
    "h": 307.6
  },
  "luminance": 0.23322
}

Semantic roles & 50–950 ramp

primary
#B752FF
secondary
#D2F3BA
accent
#E60060
background
#FDF8FF
surface
#FAF0FF
border
#D3CBD7
text
#150C18
muted
#837D86

Preview Lab

Preview with #B752FF

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

Preview Lab → · Contrast checker → · Palette generator →

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