#B568EC#B568EC

#B568EC is a light, vivid violet. Relative luminance 0.258; OKLCH L 65.9% C 0.198 H 308.9°. Best body text is #000000 at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#B568EC
RGBrgb(181, 104, 236)
HSLhsl(275, 78%, 67%)
HSVhsv(275, 56%, 93%)
CMYKcmyk(23.3%, 55.9%, 0%, 7.5%)
CIE-LABlab(57.83, 53.77, -54.86)
CIE-LCHlch(57.83, 76.82, 314.43°)
OKLaboklab(65.92% 0.1244 -0.1542)
OKLCHoklch(65.92% 0.198 308.9)
XYZxyz(39.1437, 25.7811, 82.2548)
Luminance0.2578 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B568EC #9FEC68
analogous
#7368EC #B568EC #EC68E1
triadic
#B568EC #ECB568 #68ECB5
tetradic
#B568EC #EC7368 #9FEC68 #68E1EC
square
#B568EC #EC7368 #9FEC68 #68E1EC
split-complementary
#B568EC #E1EC68 #68EC73
monochromatic
#7B18C1 #9A32E5 #B568EC #D09EF3 #EAD5FA

Accessibility & contrast

On white

3.41
#B568EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.16
#B568EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B568EC
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B568EC#FFFFFF#000000##000000
##B568EC1.003.416.166.16
#FFFFFF3.411.0021.0021.00
#0000006.1621.001.001.00
##0000006.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B88F0
Deuteranopia (green-blind)
#588CE9
Tritanopia (blue-blind)
#AD80A0
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #b568ec;
/* rgb */ color: rgb(181, 104, 236);
/* oklch */ color: oklch(65.9% 0.198 308.9);
Tailwind
colors: {
  custom: {
    50: '#ce96f3',
    500: '#b568ec',
    950: '#000000',
  },
}
SCSS
$custom: #b568ec;
$custom-light: #ce96f3;
$custom-dark: #000000;
JSON
{
  "hex": "#b568ec",
  "rgb": {
    "r": 181,
    "g": 104,
    "b": 236
  },
  "hsl": {
    "h": 275,
    "s": 77.647,
    "l": 66.667
  },
  "oklch": {
    "l": 0.65923,
    "c": 0.19813,
    "h": 308.9
  },
  "luminance": 0.25781
}

Semantic roles & 50–950 ramp

primary
#B568EC
secondary
#D4EDC3
accent
#DA0C62
background
#FDF9FE
surface
#FAF2FD
border
#D3CCD5
text
#140E17
muted
#837E85

Preview Lab

Preview with #B568EC

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

Preview Lab → · Contrast checker → · Palette generator →

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