#B752F5#B752F5

#B752F5 is a light, highly saturated violet. Relative luminance 0.227; OKLCH L 63.9% C 0.238 H 309.7°. Best body text is #000000 at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#B752F5
RGBrgb(183, 82, 245)
HSLhsl(277, 89%, 64%)
HSVhsv(277, 67%, 96%)
CMYKcmyk(25.3%, 66.5%, 0%, 3.9%)
CIE-LABlab(54.76, 66.63, -64.79)
CIE-LCHlch(54.76, 92.94, 315.80°)
OKLaboklab(63.92% 0.1521 -0.1832)
OKLCHoklch(63.92% 0.238 309.7)
XYZxyz(39.0239, 22.6952, 88.6934)
Luminance0.2269 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B752F5 #90F552
analogous
#6652F5 #B752F5 #F552E2
triadic
#B752F5 #F5B752 #52F5B7
tetradic
#B752F5 #F56652 #90F552 #52E2F5
square
#B752F5 #F56652 #90F552 #52E2F5
split-complementary
#B752F5 #E2F552 #52F566
monochromatic
#7C0BC1 #9F18F2 #B752F5 #CF8CF8 #E7C6FC

Accessibility & contrast

On white

3.79
#B752F5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.54
#B752F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B752F5
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B752F5#FFFFFF#000000##000000
##B752F51.003.795.545.54
#FFFFFF3.791.0021.0021.00
#0000005.5421.001.001.00
##0000005.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#007FFA
Deuteranopia (green-blind)
#3785F1
Tritanopia (blue-blind)
#AE749D
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #b752f5;
/* rgb */ color: rgb(183, 82, 245);
/* oklch */ color: oklch(63.9% 0.238 309.7);
Tailwind
colors: {
  custom: {
    50: '#d189f9',
    500: '#b752f5',
    950: '#000000',
  },
}
SCSS
$custom: #b752f5;
$custom-light: #d189f9;
$custom-dark: #000000;
JSON
{
  "hex": "#b752f5",
  "rgb": {
    "r": 183,
    "g": 82,
    "b": 245
  },
  "hsl": {
    "h": 277.178,
    "s": 89.071,
    "l": 64.118
  },
  "oklch": {
    "l": 0.63919,
    "c": 0.23809,
    "h": 309.7
  },
  "luminance": 0.22694
}

Semantic roles & 50–950 ramp

primary
#B752F5
secondary
#CBEEB5
accent
#E60057
background
#FDF8FF
surface
#FAF0FF
border
#D3CBD7
text
#150C17
muted
#837D85

Preview Lab

Preview with #B752F5

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

Preview Lab → · Contrast checker → · Palette generator →

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