#B768EA#B768EA

#B768EA is a light, vivid violet. Relative luminance 0.259; OKLCH L 66.0% C 0.197 H 310.1°. Best body text is #000000 at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#B768EA
RGBrgb(183, 104, 234)
HSLhsl(276, 76%, 66%)
HSVhsv(276, 56%, 92%)
CMYKcmyk(21.8%, 55.6%, 0%, 8.2%)
CIE-LABlab(57.95, 53.83, -53.54)
CIE-LCHlch(57.95, 75.92, 315.16°)
OKLaboklab(66.03% 0.1268 -0.1503)
OKLCHoklch(66.03% 0.197 310.1)
XYZxyz(39.3272, 25.9092, 80.7552)
Luminance0.2591 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B768EA #9BEA68
analogous
#7668EA #B768EA #EA68DC
triadic
#B768EA #EAB768 #68EAB7
tetradic
#B768EA #EA7668 #9BEA68 #68DCEA
square
#B768EA #EA7668 #9BEA68 #68DCEA
split-complementary
#B768EA #DCEA68 #68EA76
monochromatic
#7D1ABD #9D32E3 #B768EA #D19EF1 #EAD3F9

Accessibility & contrast

On white

3.40
#B768EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.18
#B768EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B768EA
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B768EA#FFFFFF#000000##000000
##B768EA1.003.406.186.18
#FFFFFF3.401.0021.0021.00
#0000006.1821.001.001.00
##0000006.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F88EE
Deuteranopia (green-blind)
#5B8DE7
Tritanopia (blue-blind)
#B07F9F
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #b768ea;
/* rgb */ color: rgb(183, 104, 234);
/* oklch */ color: oklch(66.0% 0.197 310.1);
Tailwind
colors: {
  custom: {
    50: '#d096f1',
    500: '#b768ea',
    950: '#000000',
  },
}
SCSS
$custom: #b768ea;
$custom-light: #d096f1;
$custom-dark: #000000;
JSON
{
  "hex": "#b768ea",
  "rgb": {
    "r": 183,
    "g": 104,
    "b": 234
  },
  "hsl": {
    "h": 276.462,
    "s": 75.581,
    "l": 66.275
  },
  "oklch": {
    "l": 0.66028,
    "c": 0.1966,
    "h": 310.1
  },
  "luminance": 0.25908
}

Semantic roles & 50–950 ramp

primary
#B768EA
secondary
#D2ECC2
accent
#D80E5D
background
#FDF9FE
surface
#FAF2FD
border
#D3CCD5
text
#140E17
muted
#837E85

Preview Lab

Preview with #B768EA

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

Preview Lab → · Contrast checker → · Palette generator →

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