#B768F2#B768F2

#B768F2 is a light, highly saturated violet. Relative luminance 0.264; OKLCH L 66.5% C 0.205 H 308.2°. Best body text is #000000 at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#B768F2
RGBrgb(183, 104, 242)
HSLhsl(274, 84%, 68%)
HSVhsv(274, 57%, 95%)
CMYKcmyk(24.4%, 57%, 0%, 5.1%)
CIE-LABlab(58.40, 55.59, -57.28)
CIE-LCHlch(58.40, 79.82, 314.14°)
OKLaboklab(66.5% 0.127 -0.1612)
OKLCHoklch(66.5% 0.205 308.2)
XYZxyz(40.5026, 26.3793, 86.9452)
Luminance0.2638 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B768F2 #A3F268
analogous
#7268F2 #B768F2 #F268E8
triadic
#B768F2 #F2B768 #68F2B7
tetradic
#B768F2 #F27268 #A3F268 #68E8F2
square
#B768F2 #F27268 #A3F268 #68E8F2
split-complementary
#B768F2 #E8F268 #68F272
monochromatic
#7D12CE #9C30ED #B768F2 #D2A0F7 #EDD9FC

Accessibility & contrast

On white

3.35
#B768F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.28
#B768F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B768F2
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B768F2#FFFFFF#000000##000000
##B768F21.003.356.286.28
#FFFFFF3.351.0021.0021.00
#0000006.2821.001.001.00
##0000006.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3589F6
Deuteranopia (green-blind)
#558DEF
Tritanopia (blue-blind)
#AE82A3
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #b768f2;
/* rgb */ color: rgb(183, 104, 242);
/* oklch */ color: oklch(66.5% 0.205 308.2);
Tailwind
colors: {
  custom: {
    50: '#d096f7',
    500: '#b768f2',
    950: '#000000',
  },
}
SCSS
$custom: #b768f2;
$custom-light: #d096f7;
$custom-dark: #000000;
JSON
{
  "hex": "#b768f2",
  "rgb": {
    "r": 183,
    "g": 104,
    "b": 242
  },
  "hsl": {
    "h": 274.348,
    "s": 84.146,
    "l": 67.843
  },
  "oklch": {
    "l": 0.66497,
    "c": 0.20525,
    "h": 308.2
  },
  "luminance": 0.26379
}

Semantic roles & 50–950 ramp

primary
#B768F2
secondary
#D8F0C6
accent
#E10563
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140E17
muted
#837E85

Preview Lab

Preview with #B768F2

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

Preview Lab → · Contrast checker → · Palette generator →

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