#B662FD#B662FD

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

Color values

HEX#B662FD
RGBrgb(182, 98, 253)
HSLhsl(273, 97%, 69%)
HSVhsv(273, 61%, 99%)
CMYKcmyk(28.1%, 61.3%, 0%, 0.8%)
CIE-LABlab(57.82, 60.78, -64.30)
CIE-LCHlch(57.82, 88.48, 313.38°)
OKLaboklab(66.26% 0.1327 -0.1819)
OKLCHoklch(66.26% 0.225 306.1)
XYZxyz(41.3849, 25.7727, 95.7039)
Luminance0.2577 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B662FD #A9FD62
analogous
#6962FD #B662FD #FD62F7
triadic
#B662FD #FDB662 #62FDB6
tetradic
#B662FD #FD6962 #A9FD62 #62F7FD
square
#B662FD #FD6962 #A9FD62 #62F7FD
split-complementary
#B662FD #F7FD62 #62FD69
monochromatic
#7C03E2 #9A26FC #B662FD #D29EFE #EEDBFF

Accessibility & contrast

On white

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

On black

6.15
#B662FD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B662FD
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B662FD#FFFFFF#000000##000000
##B662FD1.003.416.156.15
#FFFFFF3.411.0021.0021.00
#0000006.1521.001.001.00
##0000006.1521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b662fd;
/* rgb */ color: rgb(182, 98, 253);
/* oklch */ color: oklch(66.3% 0.225 306.1);
Tailwind
colors: {
  custom: {
    50: '#d093ff',
    500: '#b662fd',
    950: '#000000',
  },
}
SCSS
$custom: #b662fd;
$custom-light: #d093ff;
$custom-dark: #000000;
JSON
{
  "hex": "#b662fd",
  "rgb": {
    "r": 182,
    "g": 98,
    "b": 253
  },
  "hsl": {
    "h": 272.516,
    "s": 97.484,
    "l": 68.824
  },
  "oklch": {
    "l": 0.6626,
    "c": 0.22514,
    "h": 306.1
  },
  "luminance": 0.25772
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B662FD

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

Preview Lab → · Contrast checker → · Palette generator →

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