#B56EE3#B56EE3

#B56EE3 is a light, vivid violet. Relative luminance 0.265; OKLCH L 66.3% C 0.179 H 310.4°. Best body text is #000000 at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#B56EE3
RGBrgb(181, 110, 227)
HSLhsl(276, 68%, 66%)
HSVhsv(276, 52%, 89%)
CMYKcmyk(20.3%, 51.5%, 0%, 11%)
CIE-LABlab(58.53, 48.68, -48.72)
CIE-LCHlch(58.53, 68.87, 314.98°)
OKLaboklab(66.28% 0.1161 -0.1363)
OKLCHoklch(66.28% 0.179 310.4)
XYZxyz(38.4945, 26.5224, 75.7496)
Luminance0.2652 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B56EE3 #9CE36E
analogous
#7A6EE3 #B56EE3 #E36ED6
triadic
#B56EE3 #E3B56E #6EE3B5
tetradic
#B56EE3 #E37A6E #9CE36E #6ED6E3
square
#B56EE3 #E37A6E #9CE36E #6ED6E3
split-complementary
#B56EE3 #D6E36E #6EE37A
monochromatic
#7B23B4 #9B3BD9 #B56EE3 #CFA1ED #E9D5F7

Accessibility & contrast

On white

3.33
#B56EE3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.30
#B56EE3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B56EE3
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B56EE3#FFFFFF#000000##000000
##B56EE31.003.336.306.30
#FFFFFF3.331.0021.0021.00
#0000006.3021.001.001.00
##0000006.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E89E7
Deuteranopia (green-blind)
#658EE0
Tritanopia (blue-blind)
#AF829E
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #b56ee3;
/* rgb */ color: rgb(181, 110, 227);
/* oklch */ color: oklch(66.3% 0.179 310.4);
Tailwind
colors: {
  custom: {
    50: '#ce9aec',
    500: '#b56ee3',
    950: '#000000',
  },
}
SCSS
$custom: #b56ee3;
$custom-light: #ce9aec;
$custom-dark: #000000;
JSON
{
  "hex": "#b56ee3",
  "rgb": {
    "r": 181,
    "g": 110,
    "b": 227
  },
  "hsl": {
    "h": 276.41,
    "s": 67.63,
    "l": 66.078
  },
  "oklch": {
    "l": 0.66283,
    "c": 0.17904,
    "h": 310.4
  },
  "luminance": 0.26522
}

Semantic roles & 50–950 ramp

primary
#B56EE3
secondary
#D2EAC3
accent
#D0165F
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#140E16
muted
#827E84

Preview Lab

Preview with #B56EE3

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

Preview Lab → · Contrast checker → · Palette generator →

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