#B768F7#B768F7

#B768F7 is a light, highly saturated violet. Relative luminance 0.267; OKLCH L 66.8% C 0.211 H 307.1°. Best body text is #000000 at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#B768F7
RGBrgb(183, 104, 247)
HSLhsl(273, 90%, 69%)
HSVhsv(273, 58%, 97%)
CMYKcmyk(25.9%, 57.9%, 0%, 3.1%)
CIE-LABlab(58.68, 56.70, -59.60)
CIE-LCHlch(58.68, 82.26, 313.57°)
OKLaboklab(66.8% 0.127 -0.168)
OKLCHoklch(66.8% 0.211 307.1)
XYZxyz(41.2638, 26.6838, 90.9543)
Luminance0.2668 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B768F7 #A8F768
analogous
#7068F7 #B768F7 #F768EF
triadic
#B768F7 #F7B768 #68F7B7
tetradic
#B768F7 #F77068 #A8F768 #68EFF7
square
#B768F7 #F77068 #A8F768 #68EFF7
split-complementary
#B768F7 #EFF768 #68F770
monochromatic
#7D0CD9 #9B2EF4 #B768F7 #D3A2FA #EEDCFD

Accessibility & contrast

On white

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

On black

6.34
#B768F7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B768F7
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B768F7#FFFFFF#000000##000000
##B768F71.003.316.346.34
#FFFFFF3.311.0021.0021.00
#0000006.3421.001.001.00
##0000006.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#2E8AFC
Deuteranopia (green-blind)
#508EF4
Tritanopia (blue-blind)
#AD84A6
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #b768f7;
/* rgb */ color: rgb(183, 104, 247);
/* oklch */ color: oklch(66.8% 0.211 307.1);
Tailwind
colors: {
  custom: {
    50: '#d096fa',
    500: '#b768f7',
    950: '#000000',
  },
}
SCSS
$custom: #b768f7;
$custom-light: #d096fa;
$custom-dark: #000000;
JSON
{
  "hex": "#b768f7",
  "rgb": {
    "r": 183,
    "g": 104,
    "b": 247
  },
  "hsl": {
    "h": 273.147,
    "s": 89.937,
    "l": 68.824
  },
  "oklch": {
    "l": 0.66797,
    "c": 0.21066,
    "h": 307.1
  },
  "luminance": 0.26683
}

Semantic roles & 50–950 ramp

primary
#B768F7
secondary
#DBF3C8
accent
#E60067
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140E17
muted
#837E85

Preview Lab

Preview with #B768F7

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

Preview Lab → · Contrast checker → · Palette generator →

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