#B662F5#B662F5

#B662F5 is a light, highly saturated violet. Relative luminance 0.253; OKLCH L 65.8% C 0.217 H 307.9°. Best body text is #000000 at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#B662F5
RGBrgb(182, 98, 245)
HSLhsl(274, 88%, 67%)
HSVhsv(274, 60%, 96%)
CMYKcmyk(25.7%, 60%, 0%, 3.9%)
CIE-LABlab(57.34, 59.00, -60.64)
CIE-LCHlch(57.34, 84.61, 314.21°)
OKLaboklab(65.76% 0.133 -0.1711)
OKLCHoklch(65.76% 0.217 307.9)
XYZxyz(40.1372, 25.2736, 89.1323)
Luminance0.2527 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B662F5 #A1F562
analogous
#6D62F5 #B662F5 #F562EA
triadic
#B662F5 #F5B662 #62F5B6
tetradic
#B662F5 #F56D62 #A1F562 #62EAF5
square
#B662F5 #F56D62 #A1F562 #62EAF5
split-complementary
#B662F5 #EAF562 #62F56D
monochromatic
#7C0DCF #9B28F1 #B662F5 #D19CF9 #ECD5FC

Accessibility & contrast

On white

3.47
#B662F5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.05
#B662F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B662F5
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B662F5#FFFFFF#000000##000000
##B662F51.003.476.056.05
#FFFFFF3.471.0021.0021.00
#0000006.0521.001.001.00
##0000006.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#1E86FA
Deuteranopia (green-blind)
#4A8BF2
Tritanopia (blue-blind)
#AC7FA3
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #b662f5;
/* rgb */ color: rgb(182, 98, 245);
/* oklch */ color: oklch(65.8% 0.217 307.9);
Tailwind
colors: {
  custom: {
    50: '#d093f9',
    500: '#b662f5',
    950: '#000000',
  },
}
SCSS
$custom: #b662f5;
$custom-light: #d093f9;
$custom-dark: #000000;
JSON
{
  "hex": "#b662f5",
  "rgb": {
    "r": 182,
    "g": 98,
    "b": 245
  },
  "hsl": {
    "h": 274.286,
    "s": 88.024,
    "l": 67.255
  },
  "oklch": {
    "l": 0.65758,
    "c": 0.2167,
    "h": 307.9
  },
  "luminance": 0.25273
}

Semantic roles & 50–950 ramp

primary
#B662F5
secondary
#D6F1C2
accent
#E50162
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140D17
muted
#837E85

Preview Lab

Preview with #B662F5

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

Preview Lab → · Contrast checker → · Palette generator →

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