#B752FE#B752FE

#B752FE is a light, highly saturated violet. Relative luminance 0.233; OKLCH L 64.5% C 0.247 H 307.8°. Best body text is #000000 at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#B752FE
RGBrgb(183, 82, 254)
HSLhsl(275, 99%, 66%)
HSVhsv(275, 68%, 100%)
CMYKcmyk(28%, 67.7%, 0%, 0.4%)
CIE-LABlab(55.34, 68.55, -68.85)
CIE-LCHlch(55.34, 97.16, 314.87°)
OKLaboklab(64.52% 0.1512 -0.1951)
OKLCHoklch(64.52% 0.247 307.8)
XYZxyz(40.4314, 23.2582, 96.1061)
Luminance0.2326 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B752FE #99FE52
analogous
#6152FE #B752FE #FE52EF
triadic
#B752FE #FEB752 #52FEB7
tetradic
#B752FE #FE6152 #99FE52 #52EFFE
square
#B752FE #FE6152 #99FE52 #52EFFE
split-complementary
#B752FE #EFFE52 #52FE61
monochromatic
#7D01D4 #9E15FE #B752FE #D08FFE #EACCFF

Accessibility & contrast

On white

3.72
#B752FE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.65
#B752FE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B752FE
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B752FE#FFFFFF#000000##000000
##B752FE1.003.725.655.65
#FFFFFF3.721.0021.0021.00
#0000005.6521.001.001.00
##0000005.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0081FF
Deuteranopia (green-blind)
#2785FA
Tritanopia (blue-blind)
#AC78A2
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #b752fe;
/* rgb */ color: rgb(183, 82, 254);
/* oklch */ color: oklch(64.5% 0.247 307.8);
Tailwind
colors: {
  custom: {
    50: '#d28aff',
    500: '#b752fe',
    950: '#000000',
  },
}
SCSS
$custom: #b752fe;
$custom-light: #d28aff;
$custom-dark: #000000;
JSON
{
  "hex": "#b752fe",
  "rgb": {
    "r": 183,
    "g": 82,
    "b": 254
  },
  "hsl": {
    "h": 275.233,
    "s": 98.851,
    "l": 65.882
  },
  "oklch": {
    "l": 0.64519,
    "c": 0.24684,
    "h": 307.8
  },
  "luminance": 0.23258
}

Semantic roles & 50–950 ramp

primary
#B752FE
secondary
#D1F2B9
accent
#E6005F
background
#FDF8FF
surface
#FAF0FF
border
#D3CBD7
text
#150C18
muted
#837D86

Preview Lab

Preview with #B752FE

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

Preview Lab → · Contrast checker → · Palette generator →

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