#B366E6#B366E6

#B366E6 is a light, vivid violet. Relative luminance 0.248; OKLCH L 65.1% C 0.194 H 309.8°. Best body text is #000000 at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#B366E6
RGBrgb(179, 102, 230)
HSLhsl(276, 72%, 65%)
HSVhsv(276, 56%, 90%)
CMYKcmyk(22.2%, 55.7%, 0%, 9.8%)
CIE-LABlab(56.88, 52.98, -53.03)
CIE-LCHlch(56.88, 74.96, 314.97°)
OKLaboklab(65.07% 0.1242 -0.1489)
OKLCHoklch(65.07% 0.194 309.8)
XYZxyz(37.6220, 24.8003, 77.6526)
Luminance0.2480 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B366E6 #99E666
analogous
#7366E6 #B366E6 #E666D9
triadic
#B366E6 #E6B366 #66E6B3
tetradic
#B366E6 #E67366 #99E666 #66D9E6
square
#B366E6 #E67366 #99E666 #66D9E6
split-complementary
#B366E6 #D9E666 #66E673
monochromatic
#781DB4 #9931DD #B366E6 #CD9BEF #E7CFF7

Accessibility & contrast

On white

3.52
#B366E6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.96
#B366E6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B366E6
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B366E6#FFFFFF#000000##000000
##B366E61.003.525.965.96
#FFFFFF3.521.0021.0021.00
#0000005.9621.001.001.00
##0000005.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D85EA
Deuteranopia (green-blind)
#598AE3
Tritanopia (blue-blind)
#AC7D9C
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #b366e6;
/* rgb */ color: rgb(179, 102, 230);
/* oklch */ color: oklch(65.1% 0.194 309.8);
Tailwind
colors: {
  custom: {
    50: '#cd95ee',
    500: '#b366e6',
    950: '#000000',
  },
}
SCSS
$custom: #b366e6;
$custom-light: #cd95ee;
$custom-dark: #000000;
JSON
{
  "hex": "#b366e6",
  "rgb": {
    "r": 179,
    "g": 102,
    "b": 230
  },
  "hsl": {
    "h": 276.094,
    "s": 71.91,
    "l": 65.098
  },
  "oklch": {
    "l": 0.65069,
    "c": 0.19393,
    "h": 309.8
  },
  "luminance": 0.248
}

Semantic roles & 50–950 ramp

primary
#B366E6
secondary
#CFEABE
accent
#D4125F
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#140D16
muted
#827E84

Preview Lab

Preview with #B366E6

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

Preview Lab → · Contrast checker → · Palette generator →

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