#B968EC#B968EC

#B968EC is a light, vivid violet. Relative luminance 0.263; OKLCH L 66.4% C 0.199 H 310.4°. Best body text is #000000 at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#B968EC
RGBrgb(185, 104, 236)
HSLhsl(277, 78%, 67%)
HSVhsv(277, 56%, 93%)
CMYKcmyk(21.6%, 55.9%, 0%, 7.5%)
CIE-LABlab(58.29, 54.76, -54.09)
CIE-LCHlch(58.29, 76.97, 315.35°)
OKLaboklab(66.37% 0.1293 -0.1519)
OKLCHoklch(66.37% 0.199 310.4)
XYZxyz(40.0954, 26.2718, 82.2994)
Luminance0.2627 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B968EC #9BEC68
analogous
#7768EC #B968EC #EC68DD
triadic
#B968EC #ECB968 #68ECB9
tetradic
#B968EC #EC7768 #9BEC68 #68DDEC
square
#B968EC #EC7768 #9BEC68 #68DDEC
split-complementary
#B968EC #DDEC68 #68EC77
monochromatic
#8018C1 #A032E5 #B968EC #D29EF3 #EBD5FA

Accessibility & contrast

On white

3.36
#B968EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.25
#B968EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B968EC
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B968EC#FFFFFF#000000##000000
##B968EC1.003.366.256.25
#FFFFFF3.361.0021.0021.00
#0000006.2521.001.001.00
##0000006.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E88F0
Deuteranopia (green-blind)
#5C8EE9
Tritanopia (blue-blind)
#B380A0
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #b968ec;
/* rgb */ color: rgb(185, 104, 236);
/* oklch */ color: oklch(66.4% 0.199 310.4);
Tailwind
colors: {
  custom: {
    50: '#d196f3',
    500: '#b968ec',
    950: '#000000',
  },
}
SCSS
$custom: #b968ec;
$custom-light: #d196f3;
$custom-dark: #000000;
JSON
{
  "hex": "#b968ec",
  "rgb": {
    "r": 185,
    "g": 104,
    "b": 236
  },
  "hsl": {
    "h": 276.818,
    "s": 77.647,
    "l": 66.667
  },
  "oklch": {
    "l": 0.66366,
    "c": 0.19943,
    "h": 310.4
  },
  "luminance": 0.26271
}

Semantic roles & 50–950 ramp

primary
#B968EC
secondary
#D3EDC3
accent
#DA0C5B
background
#FDF9FE
surface
#FAF2FD
border
#D3CCD5
text
#140E17
muted
#837E85

Preview Lab

Preview with #B968EC

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

Preview Lab → · Contrast checker → · Palette generator →

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