#B68CEE#B68CEE

#B68CEE is a light, vivid violet. Relative luminance 0.349; OKLCH L 71.8% C 0.144 H 302.7°. Best body text is #000000 at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#B68CEE
RGBrgb(182, 140, 238)
HSLhsl(266, 74%, 74%)
HSVhsv(266, 41%, 93%)
CMYKcmyk(23.5%, 41.2%, 0%, 6.7%)
CIE-LABlab(65.65, 35.14, -43.58)
CIE-LCHlch(65.65, 55.98, 308.88°)
OKLaboklab(71.8% 0.0779 -0.1215)
OKLCHoklch(71.8% 0.144 302.7)
XYZxyz(44.0988, 34.8743, 85.2805)
Luminance0.3487 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B68CEE #C4EE8C
analogous
#8C93EE #B68CEE #E78CEE
triadic
#B68CEE #EEB68C #8CEEB6
tetradic
#B68CEE #EE8C93 #C4EE8C #8CEEE7
square
#B68CEE #EE8C93 #C4EE8C #8CEEE7
split-complementary
#B68CEE #EEE78C #93EE8C
monochromatic
#7221DE #9457E6 #B68CEE #D8C1F6 #EEE4FB

Accessibility & contrast

On white

2.63
#B68CEE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.97
#B68CEE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B68CEE
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B68CEE#FFFFFF#000000##000000
##B68CEE1.002.637.977.97
#FFFFFF2.631.0021.0021.00
#0000007.9721.001.001.00
##0000007.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#739FF2
Deuteranopia (green-blind)
#7C9FEB
Tritanopia (blue-blind)
#AC9CB2
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #b68cee;
/* rgb */ color: rgb(182, 140, 238);
/* oklch */ color: oklch(71.8% 0.144 302.7);
Tailwind
colors: {
  custom: {
    50: '#cdaef4',
    500: '#b68cee',
    950: '#000000',
  },
}
SCSS
$custom: #b68cee;
$custom-light: #cdaef4;
$custom-dark: #000000;
JSON
{
  "hex": "#b68cee",
  "rgb": {
    "r": 182,
    "g": 140,
    "b": 238
  },
  "hsl": {
    "h": 265.714,
    "s": 74.242,
    "l": 74.118
  },
  "oklch": {
    "l": 0.71803,
    "c": 0.14432,
    "h": 302.7
  },
  "luminance": 0.34874
}

Semantic roles & 50–950 ramp

primary
#B68CEE
secondary
#E7F3D8
accent
#D60F81
background
#FCFAFE
surface
#F9F4FD
border
#D2CED5
text
#141017
muted
#827F85

Preview Lab

Preview with #B68CEE

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

Preview Lab → · Contrast checker → · Palette generator →

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