#B661EB#B661EB

#B661EB is a light, highly saturated violet. Relative luminance 0.245; OKLCH L 65.0% C 0.208 H 310.3°. Best body text is #000000 at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#B661EB
RGBrgb(182, 97, 235)
HSLhsl(277, 78%, 65%)
HSVhsv(277, 59%, 92%)
CMYKcmyk(22.6%, 58.7%, 0%, 7.8%)
CIE-LABlab(56.58, 57.30, -56.29)
CIE-LCHlch(56.58, 80.32, 315.51°)
OKLaboklab(65.02% 0.1342 -0.1583)
OKLCHoklch(65.02% 0.208 310.3)
XYZxyz(38.5587, 24.4934, 81.2776)
Luminance0.2449 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B661EB #96EB61
analogous
#7161EB #B661EB #EB61DB
triadic
#B661EB #EBB661 #61EBB6
tetradic
#B661EB #EB7161 #96EB61 #61DBEB
square
#B661EB #EB7161 #96EB61 #61DBEB
split-complementary
#B661EB #DBEB61 #61EB71
monochromatic
#7C18BA #9D2BE4 #B661EB #CF97F2 #E8CEF9

Accessibility & contrast

On white

3.56
#B661EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.90
#B661EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B661EB
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B661EB#FFFFFF#000000##000000
##B661EB1.003.565.905.90
#FFFFFF3.561.0021.0021.00
#0000005.9021.001.001.00
##0000005.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#2E84EF
Deuteranopia (green-blind)
#5289E8
Tritanopia (blue-blind)
#AF7B9D
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #b661eb;
/* rgb */ color: rgb(182, 97, 235);
/* oklch */ color: oklch(65.0% 0.208 310.3);
Tailwind
colors: {
  custom: {
    50: '#cf92f2',
    500: '#b661eb',
    950: '#000000',
  },
}
SCSS
$custom: #b661eb;
$custom-light: #cf92f2;
$custom-dark: #000000;
JSON
{
  "hex": "#b661eb",
  "rgb": {
    "r": 182,
    "g": 97,
    "b": 235
  },
  "hsl": {
    "h": 276.957,
    "s": 77.528,
    "l": 65.098
  },
  "oklch": {
    "l": 0.65016,
    "c": 0.20759,
    "h": 310.3
  },
  "luminance": 0.24493
}

Semantic roles & 50–950 ramp

primary
#B661EB
secondary
#CEEBBD
accent
#DA0C5B
background
#FDF9FE
surface
#FAF1FD
border
#D3CBD5
text
#140D17
muted
#837E85

Preview Lab

Preview with #B661EB

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

Preview Lab → · Contrast checker → · Palette generator →

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