#B662F8#B662F8

#B662F8 is a light, highly saturated violet. Relative luminance 0.255; OKLCH L 65.9% C 0.220 H 307.2°. Best body text is #000000 at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#B662F8
RGBrgb(182, 98, 248)
HSLhsl(274, 91%, 68%)
HSVhsv(274, 60%, 97%)
CMYKcmyk(26.6%, 60.5%, 0%, 2.7%)
CIE-LABlab(57.52, 59.66, -62.02)
CIE-LCHlch(57.52, 86.06, 313.89°)
OKLaboklab(65.94% 0.1329 -0.1751)
OKLCHoklch(65.94% 0.22 307.2)
XYZxyz(40.5988, 25.4582, 91.5639)
Luminance0.2546 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B662F8 #A4F862
analogous
#6B62F8 #B662F8 #F862EF
triadic
#B662F8 #F8B662 #62F8B6
tetradic
#B662F8 #F86B62 #A4F862 #62EFF8
square
#B662F8 #F86B62 #A4F862 #62EFF8
split-complementary
#B662F8 #EFF862 #62F86B
monochromatic
#7C0AD6 #9B27F5 #B662F8 #D19DFB #ECD7FD

Accessibility & contrast

On white

3.45
#B662F8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.09
#B662F8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B662F8
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B662F8#FFFFFF#000000##000000
##B662F81.003.456.096.09
#FFFFFF3.451.0021.0021.00
#0000006.0921.001.001.00
##0000006.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#1587FD
Deuteranopia (green-blind)
#478BF5
Tritanopia (blue-blind)
#AC80A4
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #b662f8;
/* rgb */ color: rgb(182, 98, 248);
/* oklch */ color: oklch(65.9% 0.220 307.2);
Tailwind
colors: {
  custom: {
    50: '#d093fb',
    500: '#b662f8',
    950: '#000000',
  },
}
SCSS
$custom: #b662f8;
$custom-light: #d093fb;
$custom-dark: #000000;
JSON
{
  "hex": "#b662f8",
  "rgb": {
    "r": 182,
    "g": 98,
    "b": 248
  },
  "hsl": {
    "h": 273.6,
    "s": 91.463,
    "l": 67.843
  },
  "oklch": {
    "l": 0.65945,
    "c": 0.21987,
    "h": 307.2
  },
  "luminance": 0.25458
}

Semantic roles & 50–950 ramp

primary
#B662F8
secondary
#D8F2C4
accent
#E60065
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140D17
muted
#837E85

Preview Lab

Preview with #B662F8

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

Preview Lab → · Contrast checker → · Palette generator →

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