#B768FA#B768FA

#B768FA is a light, highly saturated violet. Relative luminance 0.269; OKLCH L 67.0% C 0.214 H 306.4°. Best body text is #000000 at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#B768FA
RGBrgb(183, 104, 250)
HSLhsl(272, 94%, 69%)
HSVhsv(272, 58%, 98%)
CMYKcmyk(26.8%, 58.4%, 0%, 2%)
CIE-LABlab(58.85, 57.37, -60.98)
CIE-LCHlch(58.85, 83.73, 313.25°)
OKLaboklab(66.98% 0.127 -0.1721)
OKLCHoklch(66.98% 0.214 306.4)
XYZxyz(41.7304, 26.8704, 93.4121)
Luminance0.2687 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B768FA #ABFA68
analogous
#6E68FA #B768FA #FA68F4
triadic
#B768FA #FAB768 #68FAB7
tetradic
#B768FA #FA6E68 #ABFA68 #68F4FA
square
#B768FA #FA6E68 #ABFA68 #68F4FA
split-complementary
#B768FA #F4FA68 #68FA6E
monochromatic
#7D07E0 #9B2DF8 #B768FA #D3A3FC #EFDEFE

Accessibility & contrast

On white

3.29
#B768FA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.37
#B768FA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B768FA
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B768FA#FFFFFF#000000##000000
##B768FA1.003.296.376.37
#FFFFFF3.291.0021.0021.00
#0000006.3721.001.001.00
##0000006.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#298BFF
Deuteranopia (green-blind)
#4D8EF7
Tritanopia (blue-blind)
#AC85A7
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #b768fa;
/* rgb */ color: rgb(183, 104, 250);
/* oklch */ color: oklch(67.0% 0.214 306.4);
Tailwind
colors: {
  custom: {
    50: '#d096fd',
    500: '#b768fa',
    950: '#000000',
  },
}
SCSS
$custom: #b768fa;
$custom-light: #d096fd;
$custom-dark: #000000;
JSON
{
  "hex": "#b768fa",
  "rgb": {
    "r": 183,
    "g": 104,
    "b": 250
  },
  "hsl": {
    "h": 272.466,
    "s": 93.59,
    "l": 69.412
  },
  "oklch": {
    "l": 0.6698,
    "c": 0.2139,
    "h": 306.4
  },
  "luminance": 0.2687
}

Semantic roles & 50–950 ramp

primary
#B768FA
secondary
#DDF4CA
accent
#E60069
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140E18
muted
#837E86

Preview Lab

Preview with #B768FA

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

Preview Lab → · Contrast checker → · Palette generator →

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