#B568FE#B568FE

#B568FE is a light, highly saturated violet. Relative luminance 0.269; OKLCH L 67.0% C 0.218 H 304.9°. Best body text is #000000 at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#B568FE
RGBrgb(181, 104, 254)
HSLhsl(271, 99%, 70%)
HSVhsv(271, 59%, 100%)
CMYKcmyk(28.7%, 59.1%, 0%, 0.4%)
CIE-LABlab(58.86, 57.82, -63.19)
CIE-LCHlch(58.86, 85.65, 312.46°)
OKLaboklab(67.01% 0.1245 -0.1786)
OKLCHoklch(67.01% 0.218 304.9)
XYZxyz(41.8918, 26.8804, 96.7282)
Luminance0.2688 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B568FE #B1FE68
analogous
#6A68FE #B568FE #FE68FC
triadic
#B568FE #FEB568 #68FEB5
tetradic
#B568FE #FE6A68 #B1FE68 #68FCFE
square
#B568FE #FE6A68 #B1FE68 #68FCFE
split-complementary
#B568FE #FCFE68 #68FE6A
monochromatic
#7902EA #972BFE #B568FE #D3A5FE #F0E1FF

Accessibility & contrast

On white

3.29
#B568FE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.38
#B568FE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B568FE
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B568FE#FFFFFF#000000##000000
##B568FE1.003.296.386.38
#FFFFFF3.291.0021.0021.00
#0000006.3821.001.001.00
##0000006.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#1E8BFF
Deuteranopia (green-blind)
#478EFB
Tritanopia (blue-blind)
#A886A9
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #b568fe;
/* rgb */ color: rgb(181, 104, 254);
/* oklch */ color: oklch(67.0% 0.218 304.9);
Tailwind
colors: {
  custom: {
    50: '#cf96ff',
    500: '#b568fe',
    950: '#000000',
  },
}
SCSS
$custom: #b568fe;
$custom-light: #cf96ff;
$custom-dark: #000000;
JSON
{
  "hex": "#b568fe",
  "rgb": {
    "r": 181,
    "g": 104,
    "b": 254
  },
  "hsl": {
    "h": 270.8,
    "s": 98.684,
    "l": 70.196
  },
  "oklch": {
    "l": 0.67012,
    "c": 0.21773,
    "h": 304.9
  },
  "luminance": 0.2688
}

Semantic roles & 50–950 ramp

primary
#B568FE
secondary
#E0F6CC
accent
#E60070
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140E18
muted
#837E86

Preview Lab

Preview with #B568FE

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

Preview Lab → · Contrast checker → · Palette generator →

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