#B768FE#B768FE

#B768FE is a light, highly saturated violet. Relative luminance 0.271; OKLCH L 67.2% C 0.218 H 305.6°. Best body text is #000000 at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#B768FE
RGBrgb(183, 104, 254)
HSLhsl(272, 99%, 70%)
HSVhsv(272, 59%, 100%)
CMYKcmyk(28%, 59.1%, 0%, 0.4%)
CIE-LABlab(59.09, 58.28, -62.81)
CIE-LCHlch(59.09, 85.68, 312.85°)
OKLaboklab(67.23% 0.127 -0.1775)
OKLCHoklch(67.23% 0.218 305.6)
XYZxyz(42.3643, 27.1240, 96.7504)
Luminance0.2712 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B768FE #AFFE68
analogous
#6C68FE #B768FE #FE68FA
triadic
#B768FE #FEB768 #68FEB7
tetradic
#B768FE #FE6C68 #AFFE68 #68FAFE
square
#B768FE #FE6C68 #AFFE68 #68FAFE
split-complementary
#B768FE #FAFE68 #68FE6C
monochromatic
#7C02EA #9A2BFE #B768FE #D4A5FE #F1E1FF

Accessibility & contrast

On white

3.27
#B768FE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.42
#B768FE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B768FE
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B768FE#FFFFFF#000000##000000
##B768FE1.003.276.426.42
#FFFFFF3.271.0021.0021.00
#0000006.4221.001.001.00
##0000006.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#208CFF
Deuteranopia (green-blind)
#498FFB
Tritanopia (blue-blind)
#AB86A9
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #b768fe;
/* rgb */ color: rgb(183, 104, 254);
/* oklch */ color: oklch(67.2% 0.218 305.6);
Tailwind
colors: {
  custom: {
    50: '#d197ff',
    500: '#b768fe',
    950: '#000000',
  },
}
SCSS
$custom: #b768fe;
$custom-light: #d197ff;
$custom-dark: #000000;
JSON
{
  "hex": "#b768fe",
  "rgb": {
    "r": 183,
    "g": 104,
    "b": 254
  },
  "hsl": {
    "h": 271.6,
    "s": 98.684,
    "l": 70.196
  },
  "oklch": {
    "l": 0.67226,
    "c": 0.21823,
    "h": 305.6
  },
  "luminance": 0.27124
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B768FE

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

Preview Lab → · Contrast checker → · Palette generator →

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