#B662F7#B662F7

#B662F7 is a light, highly saturated violet. Relative luminance 0.254; OKLCH L 65.9% C 0.219 H 307.4°. Best body text is #000000 at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#B662F7
RGBrgb(182, 98, 247)
HSLhsl(274, 90%, 68%)
HSVhsv(274, 60%, 97%)
CMYKcmyk(26.3%, 60.3%, 0%, 3.1%)
CIE-LABlab(57.46, 59.44, -61.56)
CIE-LCHlch(57.46, 85.57, 314.00°)
OKLaboklab(65.88% 0.1329 -0.1738)
OKLCHoklch(65.88% 0.219 307.4)
XYZxyz(40.4441, 25.3963, 90.7490)
Luminance0.2540 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B662F7 #A3F762
analogous
#6C62F7 #B662F7 #F762ED
triadic
#B662F7 #F7B662 #62F7B6
tetradic
#B662F7 #F76C62 #A3F762 #62EDF7
square
#B662F7 #F76C62 #A3F762 #62EDF7
split-complementary
#B662F7 #EDF762 #62F76C
monochromatic
#7C0BD4 #9B28F4 #B662F7 #D19CFA #ECD6FD

Accessibility & contrast

On white

3.45
#B662F7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.08
#B662F7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B662F7
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B662F7#FFFFFF#000000##000000
##B662F71.003.456.086.08
#FFFFFF3.451.0021.0021.00
#0000006.0821.001.001.00
##0000006.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#1887FC
Deuteranopia (green-blind)
#488BF4
Tritanopia (blue-blind)
#AC80A4
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #b662f7;
/* rgb */ color: rgb(182, 98, 247);
/* oklch */ color: oklch(65.9% 0.219 307.4);
Tailwind
colors: {
  custom: {
    50: '#d093fb',
    500: '#b662f7',
    950: '#000000',
  },
}
SCSS
$custom: #b662f7;
$custom-light: #d093fb;
$custom-dark: #000000;
JSON
{
  "hex": "#b662f7",
  "rgb": {
    "r": 182,
    "g": 98,
    "b": 247
  },
  "hsl": {
    "h": 273.826,
    "s": 90.303,
    "l": 67.647
  },
  "oklch": {
    "l": 0.65882,
    "c": 0.21881,
    "h": 307.4
  },
  "luminance": 0.25396
}

Semantic roles & 50–950 ramp

primary
#B662F7
secondary
#D7F2C3
accent
#E60064
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140D17
muted
#837E85

Preview Lab

Preview with #B662F7

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

Preview Lab → · Contrast checker → · Palette generator →

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