#B662FC#B662FC

#B662FC is a light, highly saturated violet. Relative luminance 0.257; OKLCH L 66.2% C 0.224 H 306.3°. Best body text is #000000 at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#B662FC
RGBrgb(182, 98, 252)
HSLhsl(273, 96%, 69%)
HSVhsv(273, 61%, 99%)
CMYKcmyk(27.8%, 61.1%, 0%, 1.2%)
CIE-LABlab(57.76, 60.55, -63.85)
CIE-LCHlch(57.76, 88.00, 313.48°)
OKLaboklab(66.2% 0.1328 -0.1805)
OKLCHoklch(66.2% 0.224 306.3)
XYZxyz(41.2260, 25.7091, 94.8671)
Luminance0.2571 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B662FC #A8FC62
analogous
#6962FC #B662FC #FC62F5
triadic
#B662FC #FCB662 #62FCB6
tetradic
#B662FC #FC6962 #A8FC62 #62F5FC
square
#B662FC #FC6962 #A8FC62 #62F5FC
split-complementary
#B662FC #F5FC62 #62FC69
monochromatic
#7C04DF #9A26FB #B662FC #D29EFD #EEDAFE

Accessibility & contrast

On white

3.42
#B662FC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.14
#B662FC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B662FC
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B662FC#FFFFFF#000000##000000
##B662FC1.003.426.146.14
#FFFFFF3.421.0021.0021.00
#0000006.1421.001.001.00
##0000006.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0188FF
Deuteranopia (green-blind)
#428BF8
Tritanopia (blue-blind)
#AA81A6
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #b662fc;
/* rgb */ color: rgb(182, 98, 252);
/* oklch */ color: oklch(66.2% 0.224 306.3);
Tailwind
colors: {
  custom: {
    50: '#d093fe',
    500: '#b662fc',
    950: '#000000',
  },
}
SCSS
$custom: #b662fc;
$custom-light: #d093fe;
$custom-dark: #000000;
JSON
{
  "hex": "#b662fc",
  "rgb": {
    "r": 182,
    "g": 98,
    "b": 252
  },
  "hsl": {
    "h": 272.727,
    "s": 96.25,
    "l": 68.627
  },
  "oklch": {
    "l": 0.66196,
    "c": 0.22409,
    "h": 306.3
  },
  "luminance": 0.25709
}

Semantic roles & 50–950 ramp

primary
#B662FC
secondary
#DBF4C6
accent
#E60068
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140D18
muted
#837E86

Preview Lab

Preview with #B662FC

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

Preview Lab → · Contrast checker → · Palette generator →

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