#B768F5#B768F5

#B768F5 is a light, highly saturated violet. Relative luminance 0.266; OKLCH L 66.7% C 0.208 H 307.5°. Best body text is #000000 at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#B768F5
RGBrgb(183, 104, 245)
HSLhsl(274, 88%, 68%)
HSVhsv(274, 58%, 96%)
CMYKcmyk(25.3%, 57.6%, 0%, 3.9%)
CIE-LABlab(58.57, 56.25, -58.67)
CIE-LCHlch(58.57, 81.28, 313.79°)
OKLaboklab(66.68% 0.127 -0.1653)
OKLCHoklch(66.68% 0.209 307.5)
XYZxyz(40.9568, 26.5610, 89.3377)
Luminance0.2656 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B768F5 #A6F568
analogous
#7068F5 #B768F5 #F568ED
triadic
#B768F5 #F5B768 #68F5B7
tetradic
#B768F5 #F57068 #A6F568 #68EDF5
square
#B768F5 #F57068 #A6F568 #68EDF5
split-complementary
#B768F5 #EDF568 #68F570
monochromatic
#7D0ED5 #9C2FF1 #B768F5 #D2A1F9 #EEDBFD

Accessibility & contrast

On white

3.33
#B768F5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.31
#B768F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B768F5
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B768F5#FFFFFF#000000##000000
##B768F51.003.336.316.31
#FFFFFF3.331.0021.0021.00
#0000006.3121.001.001.00
##0000006.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#318AFA
Deuteranopia (green-blind)
#528EF2
Tritanopia (blue-blind)
#AE83A5
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #b768f5;
/* rgb */ color: rgb(183, 104, 245);
/* oklch */ color: oklch(66.7% 0.208 307.5);
Tailwind
colors: {
  custom: {
    50: '#d096f9',
    500: '#b768f5',
    950: '#000000',
  },
}
SCSS
$custom: #b768f5;
$custom-light: #d096f9;
$custom-dark: #000000;
JSON
{
  "hex": "#b768f5",
  "rgb": {
    "r": 183,
    "g": 104,
    "b": 245
  },
  "hsl": {
    "h": 273.617,
    "s": 87.578,
    "l": 68.431
  },
  "oklch": {
    "l": 0.66676,
    "c": 0.2085,
    "h": 307.5
  },
  "luminance": 0.2656
}

Semantic roles & 50–950 ramp

primary
#B768F5
secondary
#DAF2C7
accent
#E40165
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140E17
muted
#837E85

Preview Lab

Preview with #B768F5

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

Preview Lab → · Contrast checker → · Palette generator →

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