#B752EE#B752EE

#B752EE is a light, highly saturated violet. Relative luminance 0.223; OKLCH L 63.5% C 0.231 H 311.3°. Best body text is #000000 at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#B752EE
RGBrgb(183, 82, 238)
HSLhsl(279, 82%, 63%)
HSVhsv(279, 66%, 93%)
CMYKcmyk(23.1%, 65.5%, 0%, 6.7%)
CIE-LABlab(54.32, 65.17, -61.59)
CIE-LCHlch(54.32, 89.66, 316.62°)
OKLaboklab(63.47% 0.1527 -0.1738)
OKLCHoklch(63.47% 0.231 311.3)
XYZxyz(37.9755, 22.2758, 83.1715)
Luminance0.2228 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B752EE #89EE52
analogous
#6952EE #B752EE #EE52D7
triadic
#B752EE #EEB752 #52EEB7
tetradic
#B752EE #EE6952 #89EE52 #52D7EE
square
#B752EE #EE6952 #89EE52 #52D7EE
split-complementary
#B752EE #D7EE52 #52EE69
monochromatic
#7B12B4 #A01AE9 #B752EE #CE8AF3 #E5C1F9

Accessibility & contrast

On white

3.85
#B752EE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.45
#B752EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B752EE
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B752EE#FFFFFF#000000##000000
##B752EE1.003.855.455.45
#FFFFFF3.851.0021.0021.00
#0000005.4521.001.001.00
##0000005.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DF3
Deuteranopia (green-blind)
#4084EA
Tritanopia (blue-blind)
#B07299
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #b752ee;
/* rgb */ color: rgb(183, 82, 238);
/* oklch */ color: oklch(63.5% 0.231 311.3);
Tailwind
colors: {
  custom: {
    50: '#d189f4',
    500: '#b752ee',
    950: '#000000',
  },
}
SCSS
$custom: #b752ee;
$custom-light: #d189f4;
$custom-dark: #000000;
JSON
{
  "hex": "#b752ee",
  "rgb": {
    "r": 183,
    "g": 82,
    "b": 238
  },
  "hsl": {
    "h": 278.846,
    "s": 82.105,
    "l": 62.745
  },
  "oklch": {
    "l": 0.63465,
    "c": 0.2313,
    "h": 311.3
  },
  "luminance": 0.22275
}

Semantic roles & 50–950 ramp

primary
#B752EE
secondary
#C6EAB2
accent
#DE0753
background
#FDF8FF
surface
#FAF0FE
border
#D3CBD6
text
#140C17
muted
#837D85

Preview Lab

Preview with #B752EE

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

Preview Lab → · Contrast checker → · Palette generator →

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