#B366FF#B366FF

#B366FF is a light, highly saturated violet. Relative luminance 0.263; OKLCH L 66.6% C 0.221 H 304.2°. Best body text is #000000 at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#B366FF
RGBrgb(179, 102, 255)
HSLhsl(270, 100%, 70%)
HSVhsv(270, 60%, 100%)
CMYKcmyk(29.8%, 60%, 0%, 0%)
CIE-LABlab(58.33, 58.60, -64.61)
CIE-LCHlch(58.33, 87.23, 312.21°)
OKLaboklab(66.59% 0.1243 -0.1829)
OKLCHoklch(66.59% 0.221 304.2)
XYZxyz(41.3878, 26.3066, 97.4856)
Luminance0.2631 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B366FF #B2FF66
analogous
#6666FF #B366FF #FF66FF
triadic
#B366FF #FFB366 #66FFB3
tetradic
#B366FF #FF6666 #B2FF66 #66FFFF
square
#B366FF #FF6666 #B2FF66 #66FFFF
split-complementary
#B366FF #FFFF66 #66FF66
monochromatic
#7600EB #9529FF #B366FF #D1A3FF #F0E0FF

Accessibility & contrast

On white

3.35
#B366FF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.26
#B366FF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B366FF
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B366FF#FFFFFF#000000##000000
##B366FF1.003.356.266.26
#FFFFFF3.351.0021.0021.00
#0000006.2621.001.001.00
##0000006.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0C8AFF
Deuteranopia (green-blind)
#408CFC
Tritanopia (blue-blind)
#A585A9
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #b366ff;
/* rgb */ color: rgb(179, 102, 255);
/* oklch */ color: oklch(66.6% 0.221 304.2);
Tailwind
colors: {
  custom: {
    50: '#ce95ff',
    500: '#b366ff',
    950: '#000000',
  },
}
SCSS
$custom: #b366ff;
$custom-light: #ce95ff;
$custom-dark: #000000;
JSON
{
  "hex": "#b366ff",
  "rgb": {
    "r": 179,
    "g": 102,
    "b": 255
  },
  "hsl": {
    "h": 270.196,
    "s": 100,
    "l": 70
  },
  "oklch": {
    "l": 0.66591,
    "c": 0.22112,
    "h": 304.2
  },
  "luminance": 0.26306
}

Semantic roles & 50–950 ramp

primary
#B366FF
secondary
#E0F6CB
accent
#E60072
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140E18
muted
#837E86

Preview Lab

Preview with #B366FF

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

Preview Lab → · Contrast checker → · Palette generator →

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