#B366F5#B366F5

#B366F5 is a light, highly saturated violet. Relative luminance 0.257; OKLCH L 66.0% C 0.210 H 306.3°. Best body text is #000000 at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#B366F5
RGBrgb(179, 102, 245)
HSLhsl(272, 88%, 68%)
HSVhsv(272, 58%, 96%)
CMYKcmyk(26.9%, 58.4%, 0%, 3.9%)
CIE-LABlab(57.73, 56.32, -60.04)
CIE-LCHlch(57.73, 82.32, 313.17°)
OKLaboklab(65.97% 0.1245 -0.1694)
OKLCHoklch(65.97% 0.21 306.3)
XYZxyz(39.8197, 25.6794, 89.2274)
Luminance0.2568 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B366F5 #A8F566
analogous
#6B66F5 #B366F5 #F566EF
triadic
#B366F5 #F5B366 #66F5B3
tetradic
#B366F5 #F56B66 #A8F566 #66EFF5
square
#B366F5 #F56B66 #A8F566 #66EFF5
split-complementary
#B366F5 #EFF566 #66F56B
monochromatic
#780ED3 #962DF1 #B366F5 #D09FF9 #ECD9FD

Accessibility & contrast

On white

3.42
#B366F5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.14
#B366F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B366F5
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B366F5#FFFFFF#000000##000000
##B366F51.003.426.146.14
#FFFFFF3.421.0021.0021.00
#0000006.1421.001.001.00
##0000006.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#2888FA
Deuteranopia (green-blind)
#4C8BF2
Tritanopia (blue-blind)
#A882A4
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #b366f5;
/* rgb */ color: rgb(179, 102, 245);
/* oklch */ color: oklch(66.0% 0.210 306.3);
Tailwind
colors: {
  custom: {
    50: '#cd95f9',
    500: '#b366f5',
    950: '#000000',
  },
}
SCSS
$custom: #b366f5;
$custom-light: #cd95f9;
$custom-dark: #000000;
JSON
{
  "hex": "#b366f5",
  "rgb": {
    "r": 179,
    "g": 102,
    "b": 245
  },
  "hsl": {
    "h": 272.308,
    "s": 87.73,
    "l": 68.039
  },
  "oklch": {
    "l": 0.65966,
    "c": 0.21025,
    "h": 306.3
  },
  "luminance": 0.25679
}

Semantic roles & 50–950 ramp

primary
#B366F5
secondary
#DAF1C6
accent
#E4016A
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140D17
muted
#837E85

Preview Lab

Preview with #B366F5

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

Preview Lab → · Contrast checker → · Palette generator →

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