#B768EB#B768EB

#B768EB is a light, vivid violet. Relative luminance 0.260; OKLCH L 66.1% C 0.198 H 309.9°. Best body text is #000000 at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#B768EB
RGBrgb(183, 104, 235)
HSLhsl(276, 77%, 66%)
HSVhsv(276, 56%, 92%)
CMYKcmyk(22.1%, 55.7%, 0%, 7.8%)
CIE-LABlab(58.01, 54.05, -54.01)
CIE-LCHlch(58.01, 76.41, 315.02°)
OKLaboklab(66.09% 0.1268 -0.1517)
OKLCHoklch(66.09% 0.198 309.9)
XYZxyz(39.4713, 25.9668, 81.5139)
Luminance0.2597 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B768EB #9CEB68
analogous
#7668EB #B768EB #EB68DE
triadic
#B768EB #EBB768 #68EBB7
tetradic
#B768EB #EB7668 #9CEB68 #68DEEB
square
#B768EB #EB7668 #9CEB68 #68DEEB
split-complementary
#B768EB #DEEB68 #68EB76
monochromatic
#7D19BF #9D32E4 #B768EB #D19EF2 #EBD4F9

Accessibility & contrast

On white

3.39
#B768EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.19
#B768EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B768EB
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B768EB#FFFFFF#000000##000000
##B768EB1.003.396.196.19
#FFFFFF3.391.0021.0021.00
#0000006.1921.001.001.00
##0000006.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E88EF
Deuteranopia (green-blind)
#5B8DE8
Tritanopia (blue-blind)
#B080A0
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #b768eb;
/* rgb */ color: rgb(183, 104, 235);
/* oklch */ color: oklch(66.1% 0.198 309.9);
Tailwind
colors: {
  custom: {
    50: '#d096f2',
    500: '#b768eb',
    950: '#000000',
  },
}
SCSS
$custom: #b768eb;
$custom-light: #d096f2;
$custom-dark: #000000;
JSON
{
  "hex": "#b768eb",
  "rgb": {
    "r": 183,
    "g": 104,
    "b": 235
  },
  "hsl": {
    "h": 276.183,
    "s": 76.608,
    "l": 66.471
  },
  "oklch": {
    "l": 0.66086,
    "c": 0.19769,
    "h": 309.9
  },
  "luminance": 0.25966
}

Semantic roles & 50–950 ramp

primary
#B768EB
secondary
#D3EDC2
accent
#D90D5E
background
#FDF9FE
surface
#FAF2FD
border
#D3CCD5
text
#140E17
muted
#837E85

Preview Lab

Preview with #B768EB

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

Preview Lab → · Contrast checker → · Palette generator →

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