#B752F1#B752F1

#B752F1 is a light, highly saturated violet. Relative luminance 0.225; OKLCH L 63.7% C 0.234 H 310.6°. Best body text is #000000 at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#B752F1
RGBrgb(183, 82, 241)
HSLhsl(278, 85%, 63%)
HSVhsv(278, 66%, 95%)
CMYKcmyk(24.1%, 66%, 0%, 5.5%)
CIE-LABlab(54.51, 65.79, -62.96)
CIE-LCHlch(54.51, 91.07, 316.26°)
OKLaboklab(63.66% 0.1524 -0.1778)
OKLCHoklch(63.66% 0.234 310.6)
XYZxyz(38.4199, 22.4536, 85.5121)
Luminance0.2245 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B752F1 #8CF152
analogous
#6752F1 #B752F1 #F152DC
triadic
#B752F1 #F1B752 #52F1B7
tetradic
#B752F1 #F16752 #8CF152 #52DCF1
square
#B752F1 #F16752 #8CF152 #52DCF1
split-complementary
#B752F1 #DCF152 #52F167
monochromatic
#7B0FBA #9F19EC #B752F1 #CF8BF6 #E6C3FA

Accessibility & contrast

On white

3.82
#B752F1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.49
#B752F1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B752F1
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B752F1#FFFFFF#000000##000000
##B752F11.003.825.495.49
#FFFFFF3.821.0021.0021.00
#0000005.4921.001.001.00
##0000005.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#007EF6
Deuteranopia (green-blind)
#3D84ED
Tritanopia (blue-blind)
#AF739B
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #b752f1;
/* rgb */ color: rgb(183, 82, 241);
/* oklch */ color: oklch(63.7% 0.234 310.6);
Tailwind
colors: {
  custom: {
    50: '#d189f6',
    500: '#b752f1',
    950: '#000000',
  },
}
SCSS
$custom: #b752f1;
$custom-light: #d189f6;
$custom-dark: #000000;
JSON
{
  "hex": "#b752f1",
  "rgb": {
    "r": 183,
    "g": 82,
    "b": 241
  },
  "hsl": {
    "h": 278.113,
    "s": 85.027,
    "l": 63.333
  },
  "oklch": {
    "l": 0.63658,
    "c": 0.23421,
    "h": 310.6
  },
  "luminance": 0.22453
}

Semantic roles & 50–950 ramp

primary
#B752F1
secondary
#C8ECB3
accent
#E20455
background
#FDF8FF
surface
#FAF0FF
border
#D3CBD7
text
#140C17
muted
#837D85

Preview Lab

Preview with #B752F1

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

Preview Lab → · Contrast checker → · Palette generator →

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