#B752F3#B752F3

#B752F3 is a light, highly saturated violet. Relative luminance 0.226; OKLCH L 63.8% C 0.236 H 310.2°. Best body text is #000000 at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#B752F3
RGBrgb(183, 82, 243)
HSLhsl(278, 87%, 64%)
HSVhsv(278, 66%, 95%)
CMYKcmyk(24.7%, 66.3%, 0%, 4.7%)
CIE-LABlab(54.63, 66.21, -63.88)
CIE-LCHlch(54.63, 92.00, 316.03°)
OKLaboklab(63.79% 0.1523 -0.1805)
OKLCHoklch(63.79% 0.236 310.2)
XYZxyz(38.7203, 22.5737, 87.0941)
Luminance0.2257 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B752F3 #8EF352
analogous
#6652F3 #B752F3 #F352DE
triadic
#B752F3 #F3B752 #52F3B7
tetradic
#B752F3 #F36652 #8EF352 #52DEF3
square
#B752F3 #F36652 #8EF352 #52DEF3
split-complementary
#B752F3 #DEF352 #52F366
monochromatic
#7C0DBD #9F19EF #B752F3 #CF8BF7 #E7C4FB

Accessibility & contrast

On white

3.81
#B752F3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.51
#B752F3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B752F3
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B752F3#FFFFFF#000000##000000
##B752F31.003.815.515.51
#FFFFFF3.811.0021.0021.00
#0000005.5121.001.001.00
##0000005.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#007EF8
Deuteranopia (green-blind)
#3A84EF
Tritanopia (blue-blind)
#AF749C
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #b752f3;
/* rgb */ color: rgb(183, 82, 243);
/* oklch */ color: oklch(63.8% 0.236 310.2);
Tailwind
colors: {
  custom: {
    50: '#d189f8',
    500: '#b752f3',
    950: '#000000',
  },
}
SCSS
$custom: #b752f3;
$custom-light: #d189f8;
$custom-dark: #000000;
JSON
{
  "hex": "#b752f3",
  "rgb": {
    "r": 183,
    "g": 82,
    "b": 243
  },
  "hsl": {
    "h": 277.64,
    "s": 87.027,
    "l": 63.725
  },
  "oklch": {
    "l": 0.63788,
    "c": 0.23615,
    "h": 310.2
  },
  "luminance": 0.22573
}

Semantic roles & 50–950 ramp

primary
#B752F3
secondary
#C9EDB4
accent
#E40256
background
#FDF8FF
surface
#FAF0FF
border
#D3CBD7
text
#150C17
muted
#837D85

Preview Lab

Preview with #B752F3

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

Preview Lab → · Contrast checker → · Palette generator →

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