#B668D5#B668D5

#B668D5 is a light, vivid purple. Relative luminance 0.246; OKLCH L 64.7% C 0.174 H 315.6°. Best body text is #000000 at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#B668D5
RGBrgb(182, 104, 213)
HSLhsl(283, 56%, 62%)
HSVhsv(283, 51%, 84%)
CMYKcmyk(14.6%, 51.2%, 0%, 16.5%)
CIE-LABlab(56.73, 49.09, -43.68)
CIE-LCHlch(56.73, 65.71, 318.34°)
OKLaboklab(64.75% 0.124 -0.1216)
OKLCHoklch(64.75% 0.174 315.6)
XYZxyz(36.2501, 24.6509, 65.7864)
Luminance0.2465 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B668D5 #87D568
analogous
#8068D5 #B668D5 #D568BE
triadic
#B668D5 #D5B668 #68D5B6
tetradic
#B668D5 #D58068 #87D568 #68BED5
square
#B668D5 #D58068 #87D568 #68BED5
split-complementary
#B668D5 #BED568 #68D580
monochromatic
#792A98 #9F38C8 #B668D5 #CD98E2 #E4C8F0

Accessibility & contrast

On white

3.54
#B668D5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.93
#B668D5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B668D5
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B668D5#FFFFFF#000000##000000
##B668D51.003.545.935.93
#FFFFFF3.541.0021.0021.00
#0000005.9321.001.001.00
##0000005.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5083D9
Deuteranopia (green-blind)
#688AD2
Tritanopia (blue-blind)
#B47995
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #b668d5;
/* rgb */ color: rgb(182, 104, 213);
/* oklch */ color: oklch(64.7% 0.174 315.6);
Tailwind
colors: {
  custom: {
    50: '#ce96e2',
    500: '#b668d5',
    950: '#000000',
  },
}
SCSS
$custom: #b668d5;
$custom-light: #ce96e2;
$custom-dark: #000000;
JSON
{
  "hex": "#b668d5",
  "rgb": {
    "r": 182,
    "g": 104,
    "b": 213
  },
  "hsl": {
    "h": 282.936,
    "s": 56.477,
    "l": 62.157
  },
  "oklch": {
    "l": 0.64749,
    "c": 0.17367,
    "h": 315.6
  },
  "luminance": 0.2465
}

Semantic roles & 50–950 ramp

primary
#B668D5
secondary
#C4E0B8
accent
#C42150
background
#FCF9FD
surface
#F9F2FB
border
#D2CCD4
text
#140D15
muted
#827E83

Preview Lab

Preview with #B668D5

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

Preview Lab → · Contrast checker → · Palette generator →

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