#B768E6#B768E6

#B768E6 is a light, vivid violet. Relative luminance 0.257; OKLCH L 65.8% C 0.192 H 311.2°. Best body text is #000000 at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#B768E6
RGBrgb(183, 104, 230)
HSLhsl(278, 72%, 65%)
HSVhsv(278, 55%, 90%)
CMYKcmyk(20.4%, 54.8%, 0%, 9.8%)
CIE-LABlab(57.73, 52.96, -51.65)
CIE-LCHlch(57.73, 73.97, 315.72°)
OKLaboklab(65.8% 0.1266 -0.1448)
OKLCHoklch(65.8% 0.192 311.2)
XYZxyz(38.7591, 25.6819, 77.7629)
Luminance0.2568 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B768E6 #97E668
analogous
#7868E6 #B768E6 #E668D6
triadic
#B768E6 #E6B768 #68E6B7
tetradic
#B768E6 #E67868 #97E668 #68D6E6
square
#B768E6 #E67868 #97E668 #68D6E6
split-complementary
#B768E6 #D6E668 #68E678
monochromatic
#7D1EB6 #9E33DD #B768E6 #D09DEF #E9D1F7

Accessibility & contrast

On white

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

On black

6.14
#B768E6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B768E6
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B768E6#FFFFFF#000000##000000
##B768E61.003.426.146.14
#FFFFFF3.421.0021.0021.00
#0000006.1421.001.001.00
##0000006.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4387EA
Deuteranopia (green-blind)
#5E8CE3
Tritanopia (blue-blind)
#B27E9D
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #b768e6;
/* rgb */ color: rgb(183, 104, 230);
/* oklch */ color: oklch(65.8% 0.192 311.2);
Tailwind
colors: {
  custom: {
    50: '#cf96ee',
    500: '#b768e6',
    950: '#000000',
  },
}
SCSS
$custom: #b768e6;
$custom-light: #cf96ee;
$custom-dark: #000000;
JSON
{
  "hex": "#b768e6",
  "rgb": {
    "r": 183,
    "g": 104,
    "b": 230
  },
  "hsl": {
    "h": 277.619,
    "s": 71.591,
    "l": 65.49
  },
  "oklch": {
    "l": 0.65798,
    "c": 0.19229,
    "h": 311.2
  },
  "luminance": 0.25681
}

Semantic roles & 50–950 ramp

primary
#B768E6
secondary
#D0EAC0
accent
#D4125A
background
#FDF9FE
surface
#FAF2FD
border
#D3CCD5
text
#140E16
muted
#837E84

Preview Lab

Preview with #B768E6

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

Preview Lab → · Contrast checker → · Palette generator →

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