#B768E7#B768E7

#B768E7 is a light, vivid violet. Relative luminance 0.257; OKLCH L 65.9% C 0.193 H 310.9°. Best body text is #000000 at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#B768E7
RGBrgb(183, 104, 231)
HSLhsl(277, 73%, 66%)
HSVhsv(277, 55%, 91%)
CMYKcmyk(20.8%, 55%, 0%, 9.4%)
CIE-LABlab(57.79, 53.18, -52.12)
CIE-LCHlch(57.79, 74.46, 315.58°)
OKLaboklab(65.85% 0.1266 -0.1461)
OKLCHoklch(65.85% 0.193 310.9)
XYZxyz(38.8999, 25.7382, 78.5046)
Luminance0.2574 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B768E7 #98E768
analogous
#7768E7 #B768E7 #E768D7
triadic
#B768E7 #E7B768 #68E7B7
tetradic
#B768E7 #E77768 #98E768 #68D7E7
square
#B768E7 #E77768 #98E768 #68D7E7
split-complementary
#B768E7 #D7E768 #68E777
monochromatic
#7D1DB7 #9E33DF #B768E7 #D09DEF #E9D2F8

Accessibility & contrast

On white

3.42
#B768E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.15
#B768E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B768E7
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B768E7#FFFFFF#000000##000000
##B768E71.003.426.156.15
#FFFFFF3.421.0021.0021.00
#0000006.1521.001.001.00
##0000006.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4287EB
Deuteranopia (green-blind)
#5E8CE4
Tritanopia (blue-blind)
#B17E9E
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #b768e7;
/* rgb */ color: rgb(183, 104, 231);
/* oklch */ color: oklch(65.9% 0.193 310.9);
Tailwind
colors: {
  custom: {
    50: '#cf96ef',
    500: '#b768e7',
    950: '#000000',
  },
}
SCSS
$custom: #b768e7;
$custom-light: #cf96ef;
$custom-dark: #000000;
JSON
{
  "hex": "#b768e7",
  "rgb": {
    "r": 183,
    "g": 104,
    "b": 231
  },
  "hsl": {
    "h": 277.323,
    "s": 72.571,
    "l": 65.686
  },
  "oklch": {
    "l": 0.65855,
    "c": 0.19336,
    "h": 310.9
  },
  "luminance": 0.25737
}

Semantic roles & 50–950 ramp

primary
#B768E7
secondary
#D0EBC0
accent
#D5115B
background
#FDF9FE
surface
#FAF2FD
border
#D3CCD5
text
#140E16
muted
#837E84

Preview Lab

Preview with #B768E7

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

Preview Lab → · Contrast checker → · Palette generator →

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