#B768ED#B768ED

#B768ED is a light, vivid violet. Relative luminance 0.261; OKLCH L 66.2% C 0.200 H 309.4°. Best body text is #000000 at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#B768ED
RGBrgb(183, 104, 237)
HSLhsl(276, 79%, 67%)
HSVhsv(276, 56%, 93%)
CMYKcmyk(22.8%, 56.1%, 0%, 7.1%)
CIE-LABlab(58.12, 54.48, -54.95)
CIE-LCHlch(58.12, 77.38, 314.76°)
OKLaboklab(66.2% 0.1269 -0.1544)
OKLCHoklch(66.2% 0.2 309.4)
XYZxyz(39.7619, 26.0830, 83.0442)
Luminance0.2608 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B768ED #9EED68
analogous
#7568ED #B768ED #ED68E1
triadic
#B768ED #EDB768 #68EDB7
tetradic
#B768ED #ED7568 #9EED68 #68E1ED
square
#B768ED #ED7568 #9EED68 #68E1ED
split-complementary
#B768ED #E1ED68 #68ED75
monochromatic
#7D17C3 #9D31E6 #B768ED #D19FF4 #EBD5FA

Accessibility & contrast

On white

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

On black

6.22
#B768ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B768ED
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B768ED#FFFFFF#000000##000000
##B768ED1.003.386.226.22
#FFFFFF3.381.0021.0021.00
#0000006.2221.001.001.00
##0000006.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B88F1
Deuteranopia (green-blind)
#598DEA
Tritanopia (blue-blind)
#B080A1
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #b768ed;
/* rgb */ color: rgb(183, 104, 237);
/* oklch */ color: oklch(66.2% 0.200 309.4);
Tailwind
colors: {
  custom: {
    50: '#d096f3',
    500: '#b768ed',
    950: '#000000',
  },
}
SCSS
$custom: #b768ed;
$custom-light: #d096f3;
$custom-dark: #000000;
JSON
{
  "hex": "#b768ed",
  "rgb": {
    "r": 183,
    "g": 104,
    "b": 237
  },
  "hsl": {
    "h": 275.639,
    "s": 78.698,
    "l": 66.863
  },
  "oklch": {
    "l": 0.66202,
    "c": 0.19984,
    "h": 309.4
  },
  "luminance": 0.26082
}

Semantic roles & 50–950 ramp

primary
#B768ED
secondary
#D4EEC3
accent
#DB0B5F
background
#FDF9FE
surface
#FAF2FD
border
#D3CCD5
text
#140E17
muted
#837E85

Preview Lab

Preview with #B768ED

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

Preview Lab → · Contrast checker → · Palette generator →

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