#B768EC#B768EC

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

Color values

HEX#B768EC
RGBrgb(183, 104, 236)
HSLhsl(276, 78%, 67%)
HSVhsv(276, 56%, 93%)
CMYKcmyk(22.5%, 55.9%, 0%, 7.5%)
CIE-LABlab(58.06, 54.27, -54.48)
CIE-LCHlch(58.06, 76.89, 314.89°)
OKLaboklab(66.14% 0.1268 -0.153)
OKLCHoklch(66.14% 0.199 309.6)
XYZxyz(39.6162, 26.0247, 82.2769)
Luminance0.2602 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B768EC #9DEC68
analogous
#7568EC #B768EC #EC68DF
triadic
#B768EC #ECB768 #68ECB7
tetradic
#B768EC #EC7568 #9DEC68 #68DFEC
square
#B768EC #EC7568 #9DEC68 #68DFEC
split-complementary
#B768EC #DFEC68 #68EC75
monochromatic
#7D18C1 #9D32E5 #B768EC #D19EF3 #EBD5FA

Accessibility & contrast

On white

3.38
#B768EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.20
#B768EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B768EC
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B768EC#FFFFFF#000000##000000
##B768EC1.003.386.206.20
#FFFFFF3.381.0021.0021.00
#0000006.2021.001.001.00
##0000006.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D88F0
Deuteranopia (green-blind)
#5A8DE9
Tritanopia (blue-blind)
#B080A0
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #b768ec;
/* rgb */ color: rgb(183, 104, 236);
/* oklch */ color: oklch(66.1% 0.199 309.6);
Tailwind
colors: {
  custom: {
    50: '#d096f3',
    500: '#b768ec',
    950: '#000000',
  },
}
SCSS
$custom: #b768ec;
$custom-light: #d096f3;
$custom-dark: #000000;
JSON
{
  "hex": "#b768ec",
  "rgb": {
    "r": 183,
    "g": 104,
    "b": 236
  },
  "hsl": {
    "h": 275.909,
    "s": 77.647,
    "l": 66.667
  },
  "oklch": {
    "l": 0.66144,
    "c": 0.19876,
    "h": 309.6
  },
  "luminance": 0.26024
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B768EC

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

Preview Lab → · Contrast checker → · Palette generator →

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