#B662EB#B662EB

#B662EB is a light, highly saturated violet. Relative luminance 0.247; OKLCH L 65.1% C 0.206 H 310.2°. Best body text is #000000 at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#B662EB
RGBrgb(182, 98, 235)
HSLhsl(277, 77%, 65%)
HSVhsv(277, 58%, 92%)
CMYKcmyk(22.6%, 58.3%, 0%, 7.8%)
CIE-LABlab(56.76, 56.81, -56.00)
CIE-LCHlch(56.76, 79.77, 315.41°)
OKLaboklab(65.15% 0.133 -0.1575)
OKLCHoklch(65.15% 0.206 310.2)
XYZxyz(38.6516, 24.6794, 81.3086)
Luminance0.2468 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B662EB #97EB62
analogous
#7162EB #B662EB #EB62DC
triadic
#B662EB #EBB662 #62EBB6
tetradic
#B662EB #EB7162 #97EB62 #62DCEB
square
#B662EB #EB7162 #97EB62 #62DCEB
split-complementary
#B662EB #DCEB62 #62EB71
monochromatic
#7C18BB #9D2CE4 #B662EB #CF98F2 #E8CFF9

Accessibility & contrast

On white

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

On black

5.94
#B662EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B662EB
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B662EB#FFFFFF#000000##000000
##B662EB1.003.545.945.94
#FFFFFF3.541.0021.0021.00
#0000005.9421.001.001.00
##0000005.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3084EF
Deuteranopia (green-blind)
#538AE8
Tritanopia (blue-blind)
#AF7B9D
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #b662eb;
/* rgb */ color: rgb(182, 98, 235);
/* oklch */ color: oklch(65.1% 0.206 310.2);
Tailwind
colors: {
  custom: {
    50: '#cf92f2',
    500: '#b662eb',
    950: '#000000',
  },
}
SCSS
$custom: #b662eb;
$custom-light: #cf92f2;
$custom-dark: #000000;
JSON
{
  "hex": "#b662eb",
  "rgb": {
    "r": 182,
    "g": 98,
    "b": 235
  },
  "hsl": {
    "h": 276.788,
    "s": 77.401,
    "l": 65.294
  },
  "oklch": {
    "l": 0.6515,
    "c": 0.20616,
    "h": 310.2
  },
  "luminance": 0.24679
}

Semantic roles & 50–950 ramp

primary
#B662EB
secondary
#CFEBBD
accent
#DA0C5B
background
#FDF9FE
surface
#FAF2FD
border
#D3CCD5
text
#140D17
muted
#837E85

Preview Lab

Preview with #B662EB

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

Preview Lab → · Contrast checker → · Palette generator →

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