#B662F2#B662F2

#B662F2 is a light, highly saturated violet. Relative luminance 0.251; OKLCH L 65.6% C 0.214 H 308.5°. Best body text is #000000 at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#B662F2
RGBrgb(182, 98, 242)
HSLhsl(275, 85%, 67%)
HSVhsv(275, 60%, 95%)
CMYKcmyk(24.8%, 59.5%, 0%, 5.1%)
CIE-LABlab(57.16, 58.34, -59.26)
CIE-LCHlch(57.16, 83.15, 314.55°)
OKLaboklab(65.57% 0.133 -0.167)
OKLCHoklch(65.57% 0.214 308.5)
XYZxyz(39.6829, 25.0919, 86.7399)
Luminance0.2509 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B662F2 #9EF262
analogous
#6E62F2 #B662F2 #F262E6
triadic
#B662F2 #F2B662 #62F2B6
tetradic
#B662F2 #F26E62 #9EF262 #62E6F2
square
#B662F2 #F26E62 #9EF262 #62E6F2
split-complementary
#B662F2 #E6F262 #62F26E
monochromatic
#7C11C9 #9C29ED #B662F2 #D09BF7 #EBD3FB

Accessibility & contrast

On white

3.49
#B662F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.02
#B662F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B662F2
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B662F2#FFFFFF#000000##000000
##B662F21.003.496.026.02
#FFFFFF3.491.0021.0021.00
#0000006.0221.001.001.00
##0000006.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#2486F7
Deuteranopia (green-blind)
#4D8AEF
Tritanopia (blue-blind)
#AD7EA1
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #b662f2;
/* rgb */ color: rgb(182, 98, 242);
/* oklch */ color: oklch(65.6% 0.214 308.5);
Tailwind
colors: {
  custom: {
    50: '#d093f7',
    500: '#b662f2',
    950: '#000000',
  },
}
SCSS
$custom: #b662f2;
$custom-light: #d093f7;
$custom-dark: #000000;
JSON
{
  "hex": "#b662f2",
  "rgb": {
    "r": 182,
    "g": 98,
    "b": 242
  },
  "hsl": {
    "h": 275,
    "s": 84.706,
    "l": 66.667
  },
  "oklch": {
    "l": 0.65573,
    "c": 0.21353,
    "h": 308.5
  },
  "luminance": 0.25091
}

Semantic roles & 50–950 ramp

primary
#B662F2
secondary
#D4EFC1
accent
#E10460
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140D17
muted
#837E85

Preview Lab

Preview with #B662F2

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

Preview Lab → · Contrast checker → · Palette generator →

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