#B662FA#B662FA

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

Color values

HEX#B662FA
RGBrgb(182, 98, 250)
HSLhsl(273, 94%, 68%)
HSVhsv(273, 61%, 98%)
CMYKcmyk(27.2%, 60.8%, 0%, 2%)
CIE-LABlab(57.64, 60.11, -62.94)
CIE-LCHlch(57.64, 87.03, 313.68°)
OKLaboklab(66.07% 0.1329 -0.1778)
OKLCHoklch(66.07% 0.222 306.8)
XYZxyz(40.9108, 25.5830, 93.2067)
Luminance0.2558 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B662FA #A6FA62
analogous
#6A62FA #B662FA #FA62F2
triadic
#B662FA #FAB662 #62FAB6
tetradic
#B662FA #FA6A62 #A6FA62 #62F2FA
square
#B662FA #FA6A62 #A6FA62 #62F2FA
split-complementary
#B662FA #F2FA62 #62FA6A
monochromatic
#7C07DB #9A27F8 #B662FA #D29DFC #EDD9FE

Accessibility & contrast

On white

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

On black

6.12
#B662FA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B662FA
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B662FA#FFFFFF#000000##000000
##B662FA1.003.436.126.12
#FFFFFF3.431.0021.0021.00
#0000006.1221.001.001.00
##0000006.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0D88FF
Deuteranopia (green-blind)
#458BF7
Tritanopia (blue-blind)
#AB81A5
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #b662fa;
/* rgb */ color: rgb(182, 98, 250);
/* oklch */ color: oklch(66.1% 0.222 306.8);
Tailwind
colors: {
  custom: {
    50: '#d093fd',
    500: '#b662fa',
    950: '#000000',
  },
}
SCSS
$custom: #b662fa;
$custom-light: #d093fd;
$custom-dark: #000000;
JSON
{
  "hex": "#b662fa",
  "rgb": {
    "r": 182,
    "g": 98,
    "b": 250
  },
  "hsl": {
    "h": 273.158,
    "s": 93.827,
    "l": 68.235
  },
  "oklch": {
    "l": 0.6607,
    "c": 0.22197,
    "h": 306.8
  },
  "luminance": 0.25583
}

Semantic roles & 50–950 ramp

primary
#B662FA
secondary
#D9F3C5
accent
#E60067
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140D18
muted
#837E86

Preview Lab

Preview with #B662FA

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

Preview Lab → · Contrast checker → · Palette generator →

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