#B366E5#B366E5

#B366E5 is a light, vivid violet. Relative luminance 0.247; OKLCH L 65.0% C 0.193 H 310.1°. Best body text is #000000 at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#B366E5
RGBrgb(179, 102, 229)
HSLhsl(276, 71%, 65%)
HSVhsv(276, 55%, 90%)
CMYKcmyk(21.8%, 55.5%, 0%, 10.2%)
CIE-LABlab(56.83, 52.76, -52.56)
CIE-LCHlch(56.83, 74.47, 315.11°)
OKLaboklab(65.01% 0.1242 -0.1475)
OKLCHoklch(65.01% 0.193 310.1)
XYZxyz(37.4820, 24.7443, 76.9151)
Luminance0.2474 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B366E5 #98E566
analogous
#7466E5 #B366E5 #E566D8
triadic
#B366E5 #E5B366 #66E5B3
tetradic
#B366E5 #E57466 #98E566 #66D8E5
square
#B366E5 #E57466 #98E566 #66D8E5
split-complementary
#B366E5 #D8E566 #66E574
monochromatic
#781EB2 #9932DC #B366E5 #CD9AEE #E7CFF7

Accessibility & contrast

On white

3.53
#B366E5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.95
#B366E5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B366E5
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B366E5#FFFFFF#000000##000000
##B366E51.003.535.955.95
#FFFFFF3.531.0021.0021.00
#0000005.9521.001.001.00
##0000005.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E85E9
Deuteranopia (green-blind)
#5A8AE2
Tritanopia (blue-blind)
#AD7D9C
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #b366e5;
/* rgb */ color: rgb(179, 102, 229);
/* oklch */ color: oklch(65.0% 0.193 310.1);
Tailwind
colors: {
  custom: {
    50: '#cd95ee',
    500: '#b366e5',
    950: '#000000',
  },
}
SCSS
$custom: #b366e5;
$custom-light: #cd95ee;
$custom-dark: #000000;
JSON
{
  "hex": "#b366e5",
  "rgb": {
    "r": 179,
    "g": 102,
    "b": 229
  },
  "hsl": {
    "h": 276.378,
    "s": 70.95,
    "l": 64.902
  },
  "oklch": {
    "l": 0.65011,
    "c": 0.19284,
    "h": 310.1
  },
  "luminance": 0.24744
}

Semantic roles & 50–950 ramp

primary
#B366E5
secondary
#CFE9BE
accent
#D3135E
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#140D16
muted
#827E84

Preview Lab

Preview with #B366E5

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

Preview Lab → · Contrast checker → · Palette generator →

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