#B662FB#B662FB

#B662FB is a light, highly saturated violet. Relative luminance 0.256; OKLCH L 66.1% C 0.223 H 306.5°. Best body text is #000000 at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#B662FB
RGBrgb(182, 98, 251)
HSLhsl(273, 95%, 68%)
HSVhsv(273, 61%, 98%)
CMYKcmyk(27.5%, 61%, 0%, 1.6%)
CIE-LABlab(57.70, 60.33, -63.39)
CIE-LCHlch(57.70, 87.51, 313.58°)
OKLaboklab(66.13% 0.1328 -0.1792)
OKLCHoklch(66.13% 0.223 306.5)
XYZxyz(41.0680, 25.6459, 94.0347)
Luminance0.2565 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B662FB #A7FB62
analogous
#6962FB #B662FB #FB62F4
triadic
#B662FB #FBB662 #62FBB6
tetradic
#B662FB #FB6962 #A7FB62 #62F4FB
square
#B662FB #FB6962 #A7FB62 #62F4FB
split-complementary
#B662FB #F4FB62 #62FB69
monochromatic
#7C06DD #9A26F9 #B662FB #D29EFD #EDD9FE

Accessibility & contrast

On white

3.43
#B662FB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.13
#B662FB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B662FB
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B662FB#FFFFFF#000000##000000
##B662FB1.003.436.136.13
#FFFFFF3.431.0021.0021.00
#0000006.1321.001.001.00
##0000006.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0788FF
Deuteranopia (green-blind)
#448BF7
Tritanopia (blue-blind)
#AB81A6
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #b662fb;
/* rgb */ color: rgb(182, 98, 251);
/* oklch */ color: oklch(66.1% 0.223 306.5);
Tailwind
colors: {
  custom: {
    50: '#d093fd',
    500: '#b662fb',
    950: '#000000',
  },
}
SCSS
$custom: #b662fb;
$custom-light: #d093fd;
$custom-dark: #000000;
JSON
{
  "hex": "#b662fb",
  "rgb": {
    "r": 182,
    "g": 98,
    "b": 251
  },
  "hsl": {
    "h": 272.941,
    "s": 95.031,
    "l": 68.431
  },
  "oklch": {
    "l": 0.66133,
    "c": 0.22304,
    "h": 306.5
  },
  "luminance": 0.25645
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B662FB

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

Preview Lab → · Contrast checker → · Palette generator →

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