#B752EC#B752EC

#B752EC is a light, highly saturated violet. Relative luminance 0.222; OKLCH L 63.3% C 0.229 H 311.8°. Best body text is #000000 at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#B752EC
RGBrgb(183, 82, 236)
HSLhsl(279, 80%, 62%)
HSVhsv(279, 65%, 93%)
CMYKcmyk(22.5%, 65.3%, 0%, 7.5%)
CIE-LABlab(54.20, 64.75, -60.66)
CIE-LCHlch(54.20, 88.73, 316.87°)
OKLaboklab(63.34% 0.1528 -0.1711)
OKLCHoklch(63.34% 0.229 311.8)
XYZxyz(37.6833, 22.1589, 81.6326)
Luminance0.2216 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B752EC #87EC52
analogous
#6A52EC #B752EC #EC52D4
triadic
#B752EC #ECB752 #52ECB7
tetradic
#B752EC #EC6A52 #87EC52 #52D4EC
square
#B752EC #EC6A52 #87EC52 #52D4EC
split-complementary
#B752EC #D4EC52 #52EC6A
monochromatic
#7A13B0 #A01BE6 #B752EC #CE89F2 #E5C0F8

Accessibility & contrast

On white

3.87
#B752EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.43
#B752EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B752EC
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B752EC#FFFFFF#000000##000000
##B752EC1.003.875.435.43
#FFFFFF3.871.0021.0021.00
#0000005.4321.001.001.00
##0000005.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DF1
Deuteranopia (green-blind)
#4384E8
Tritanopia (blue-blind)
#B17198
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #b752ec;
/* rgb */ color: rgb(183, 82, 236);
/* oklch */ color: oklch(63.3% 0.229 311.8);
Tailwind
colors: {
  custom: {
    50: '#d189f3',
    500: '#b752ec',
    950: '#000000',
  },
}
SCSS
$custom: #b752ec;
$custom-light: #d189f3;
$custom-dark: #000000;
JSON
{
  "hex": "#b752ec",
  "rgb": {
    "r": 183,
    "g": 82,
    "b": 236
  },
  "hsl": {
    "h": 279.351,
    "s": 80.208,
    "l": 62.353
  },
  "oklch": {
    "l": 0.63337,
    "c": 0.22937,
    "h": 311.8
  },
  "luminance": 0.22158
}

Semantic roles & 50–950 ramp

primary
#B752EC
secondary
#C4E9B1
accent
#DD0952
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#140C17
muted
#837D85

Preview Lab

Preview with #B752EC

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

Preview Lab → · Contrast checker → · Palette generator →

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