#B662FE#B662FE

#B662FE is a light, highly saturated violet. Relative luminance 0.258; OKLCH L 66.3% C 0.226 H 305.9°. Best body text is #000000 at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#B662FE
RGBrgb(182, 98, 254)
HSLhsl(272, 99%, 69%)
HSVhsv(272, 61%, 100%)
CMYKcmyk(28.3%, 61.4%, 0%, 0.4%)
CIE-LABlab(57.88, 61.00, -64.76)
CIE-LCHlch(57.88, 88.97, 313.29°)
OKLaboklab(66.32% 0.1327 -0.1832)
OKLCHoklch(66.32% 0.226 305.9)
XYZxyz(41.5446, 25.8366, 96.5450)
Luminance0.2584 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B662FE #AAFE62
analogous
#6862FE #B662FE #FE62F8
triadic
#B662FE #FEB662 #62FEB6
tetradic
#B662FE #FE6862 #AAFE62 #62F8FE
square
#B662FE #FE6862 #AAFE62 #62F8FE
split-complementary
#B662FE #F8FE62 #62FE68
monochromatic
#7C01E4 #9A25FE #B662FE #D29FFE #EFDCFF

Accessibility & contrast

On white

3.41
#B662FE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.17
#B662FE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B662FE
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B662FE#FFFFFF#000000##000000
##B662FE1.003.416.176.17
#FFFFFF3.411.0021.0021.00
#0000006.1721.001.001.00
##0000006.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0088FF
Deuteranopia (green-blind)
#408BFA
Tritanopia (blue-blind)
#AA82A7
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #b662fe;
/* rgb */ color: rgb(182, 98, 254);
/* oklch */ color: oklch(66.3% 0.226 305.9);
Tailwind
colors: {
  custom: {
    50: '#d093ff',
    500: '#b662fe',
    950: '#000000',
  },
}
SCSS
$custom: #b662fe;
$custom-light: #d093ff;
$custom-dark: #000000;
JSON
{
  "hex": "#b662fe",
  "rgb": {
    "r": 182,
    "g": 98,
    "b": 254
  },
  "hsl": {
    "h": 272.308,
    "s": 98.734,
    "l": 69.02
  },
  "oklch": {
    "l": 0.66324,
    "c": 0.2262,
    "h": 305.9
  },
  "luminance": 0.25836
}

Semantic roles & 50–950 ramp

primary
#B662FE
secondary
#DCF5C7
accent
#E6006A
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140D18
muted
#837E86

Preview Lab

Preview with #B662FE

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

Preview Lab → · Contrast checker → · Palette generator →

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