#B366F3#B366F3

#B366F3 is a light, highly saturated violet. Relative luminance 0.256; OKLCH L 65.8% C 0.208 H 306.8°. Best body text is #000000 at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#B366F3
RGBrgb(179, 102, 243)
HSLhsl(273, 85%, 68%)
HSVhsv(273, 58%, 95%)
CMYKcmyk(26.3%, 58%, 0%, 4.7%)
CIE-LABlab(57.62, 55.87, -59.11)
CIE-LCHlch(57.62, 81.34, 313.39°)
OKLaboklab(65.84% 0.1245 -0.1667)
OKLCHoklch(65.84% 0.208 306.8)
XYZxyz(39.5161, 25.5579, 87.6281)
Luminance0.2556 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B366F3 #A6F366
analogous
#6C66F3 #B366F3 #F366ED
triadic
#B366F3 #F3B366 #66F3B3
tetradic
#B366F3 #F36C66 #A6F366 #66EDF3
square
#B366F3 #F36C66 #A6F366 #66EDF3
split-complementary
#B366F3 #EDF366 #66F36C
monochromatic
#7810CE #972DEF #B366F3 #CF9FF7 #EBD7FC

Accessibility & contrast

On white

3.44
#B366F3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.11
#B366F3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B366F3
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B366F3#FFFFFF#000000##000000
##B366F31.003.446.116.11
#FFFFFF3.441.0021.0021.00
#0000006.1121.001.001.00
##0000006.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#2C88F8
Deuteranopia (green-blind)
#4E8BF0
Tritanopia (blue-blind)
#A981A3
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #b366f3;
/* rgb */ color: rgb(179, 102, 243);
/* oklch */ color: oklch(65.8% 0.208 306.8);
Tailwind
colors: {
  custom: {
    50: '#cd95f8',
    500: '#b366f3',
    950: '#000000',
  },
}
SCSS
$custom: #b366f3;
$custom-light: #cd95f8;
$custom-dark: #000000;
JSON
{
  "hex": "#b366f3",
  "rgb": {
    "r": 179,
    "g": 102,
    "b": 243
  },
  "hsl": {
    "h": 272.766,
    "s": 85.455,
    "l": 67.647
  },
  "oklch": {
    "l": 0.65844,
    "c": 0.20808,
    "h": 306.8
  },
  "luminance": 0.25558
}

Semantic roles & 50–950 ramp

primary
#B366F3
secondary
#D8F0C5
accent
#E20468
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140D17
muted
#837E85

Preview Lab

Preview with #B366F3

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

Preview Lab → · Contrast checker → · Palette generator →

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