#B768F8#B768F8

#B768F8 is a light, highly saturated violet. Relative luminance 0.267; OKLCH L 66.9% C 0.212 H 306.9°. Best body text is #000000 at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#B768F8
RGBrgb(183, 104, 248)
HSLhsl(273, 91%, 69%)
HSVhsv(273, 58%, 97%)
CMYKcmyk(26.2%, 58.1%, 0%, 2.7%)
CIE-LABlab(58.74, 56.92, -60.06)
CIE-LCHlch(58.74, 82.75, 313.46°)
OKLaboklab(66.86% 0.127 -0.1694)
OKLCHoklch(66.86% 0.212 306.9)
XYZxyz(41.4185, 26.7457, 91.7692)
Luminance0.2675 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B768F8 #A9F868
analogous
#6F68F8 #B768F8 #F868F1
triadic
#B768F8 #F8B768 #68F8B7
tetradic
#B768F8 #F86F68 #A9F868 #68F1F8
square
#B768F8 #F86F68 #A9F868 #68F1F8
split-complementary
#B768F8 #F1F868 #68F86F
monochromatic
#7D0ADB #9B2EF5 #B768F8 #D3A2FB #EFDDFD

Accessibility & contrast

On white

3.31
#B768F8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.35
#B768F8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B768F8
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B768F8#FFFFFF#000000##000000
##B768F81.003.316.356.35
#FFFFFF3.311.0021.0021.00
#0000006.3521.001.001.00
##0000006.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#2C8BFD
Deuteranopia (green-blind)
#4F8EF5
Tritanopia (blue-blind)
#AD84A6
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #b768f8;
/* rgb */ color: rgb(183, 104, 248);
/* oklch */ color: oklch(66.9% 0.212 306.9);
Tailwind
colors: {
  custom: {
    50: '#d096fb',
    500: '#b768f8',
    950: '#000000',
  },
}
SCSS
$custom: #b768f8;
$custom-light: #d096fb;
$custom-dark: #000000;
JSON
{
  "hex": "#b768f8",
  "rgb": {
    "r": 183,
    "g": 104,
    "b": 248
  },
  "hsl": {
    "h": 272.917,
    "s": 91.139,
    "l": 69.02
  },
  "oklch": {
    "l": 0.66858,
    "c": 0.21174,
    "h": 306.9
  },
  "luminance": 0.26745
}

Semantic roles & 50–950 ramp

primary
#B768F8
secondary
#DCF3C9
accent
#E60068
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140E17
muted
#837E85

Preview Lab

Preview with #B768F8

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

Preview Lab → · Contrast checker → · Palette generator →

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