#B768FF#B768FF

#B768FF is a light, highly saturated violet. Relative luminance 0.272; OKLCH L 67.3% C 0.219 H 305.4°. Best body text is #000000 at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#B768FF
RGBrgb(183, 104, 255)
HSLhsl(271, 100%, 70%)
HSVhsv(271, 59%, 100%)
CMYKcmyk(28.2%, 59.2%, 0%, 0%)
CIE-LABlab(59.15, 58.50, -63.27)
CIE-LCHlch(59.15, 86.17, 312.76°)
OKLaboklab(67.29% 0.127 -0.1788)
OKLCHoklch(67.29% 0.219 305.4)
XYZxyz(42.5248, 27.1882, 97.5959)
Luminance0.2719 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B768FF #B0FF68
analogous
#6B68FF #B768FF #FF68FB
triadic
#B768FF #FFB768 #68FFB7
tetradic
#B768FF #FF6B68 #B0FF68 #68FBFF
square
#B768FF #FF6B68 #B0FF68 #68FBFF
split-complementary
#B768FF #FBFF68 #68FF6B
monochromatic
#7C00ED #9A2BFF #B768FF #D4A5FF #F0E0FF

Accessibility & contrast

On white

3.26
#B768FF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.44
#B768FF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B768FF
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B768FF#FFFFFF#000000##000000
##B768FF1.003.266.446.44
#FFFFFF3.261.0021.0021.00
#0000006.4421.001.001.00
##0000006.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#1E8CFF
Deuteranopia (green-blind)
#488FFC
Tritanopia (blue-blind)
#AB86AA
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #b768ff;
/* rgb */ color: rgb(183, 104, 255);
/* oklch */ color: oklch(67.3% 0.219 305.4);
Tailwind
colors: {
  custom: {
    50: '#d197ff',
    500: '#b768ff',
    950: '#000000',
  },
}
SCSS
$custom: #b768ff;
$custom-light: #d197ff;
$custom-dark: #000000;
JSON
{
  "hex": "#b768ff",
  "rgb": {
    "r": 183,
    "g": 104,
    "b": 255
  },
  "hsl": {
    "h": 271.391,
    "s": 100,
    "l": 70.392
  },
  "oklch": {
    "l": 0.67288,
    "c": 0.21932,
    "h": 305.4
  },
  "luminance": 0.27188
}

Semantic roles & 50–950 ramp

primary
#B768FF
secondary
#E0F6CD
accent
#E6006D
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140E18
muted
#837E86

Preview Lab

Preview with #B768FF

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

Preview Lab → · Contrast checker → · Palette generator →

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