#B552FF#B552FF

#B552FF is a light, highly saturated violet. Relative luminance 0.231; OKLCH L 64.4% C 0.247 H 306.9°. Best body text is #000000 at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#B552FF
RGBrgb(181, 82, 255)
HSLhsl(274, 100%, 66%)
HSVhsv(274, 68%, 100%)
CMYKcmyk(29%, 67.8%, 0%, 0%)
CIE-LABlab(55.15, 68.37, -69.72)
CIE-LCHlch(55.15, 97.65, 314.44°)
OKLaboklab(64.35% 0.1485 -0.1977)
OKLCHoklch(64.35% 0.247 306.9)
XYZxyz(40.1195, 23.0788, 96.9295)
Luminance0.2308 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B552FF #9CFF52
analogous
#5E52FF #B552FF #FF52F3
triadic
#B552FF #FFB552 #52FFB5
tetradic
#B552FF #FF5E52 #9CFF52 #52F3FF
square
#B552FF #FF5E52 #9CFF52 #52F3FF
split-complementary
#B552FF #F3FF52 #52FF5E
monochromatic
#7B00D7 #9B15FF #B552FF #CF8FFF #E9CCFF

Accessibility & contrast

On white

3.74
#B552FF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.62
#B552FF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B552FF
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B552FF#FFFFFF#000000##000000
##B552FF1.003.745.625.62
#FFFFFF3.741.0021.0021.00
#0000005.6221.001.001.00
##0000005.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0081FF
Deuteranopia (green-blind)
#2085FB
Tritanopia (blue-blind)
#A979A3
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #b552ff;
/* rgb */ color: rgb(181, 82, 255);
/* oklch */ color: oklch(64.4% 0.247 306.9);
Tailwind
colors: {
  custom: {
    50: '#d08aff',
    500: '#b552ff',
    950: '#000000',
  },
}
SCSS
$custom: #b552ff;
$custom-light: #d08aff;
$custom-dark: #000000;
JSON
{
  "hex": "#b552ff",
  "rgb": {
    "r": 181,
    "g": 82,
    "b": 255
  },
  "hsl": {
    "h": 274.335,
    "s": 100,
    "l": 66.078
  },
  "oklch": {
    "l": 0.64355,
    "c": 0.2473,
    "h": 306.9
  },
  "luminance": 0.23078
}

Semantic roles & 50–950 ramp

primary
#B552FF
secondary
#D2F3BA
accent
#E60062
background
#FDF8FF
surface
#FAF0FF
border
#D3CBD7
text
#150C18
muted
#837D86

Preview Lab

Preview with #B552FF

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

Preview Lab → · Contrast checker → · Palette generator →

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