#B366ED#B366ED

#B366ED is a light, highly saturated violet. Relative luminance 0.252; OKLCH L 65.5% C 0.202 H 308.1°. Best body text is #000000 at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#B366ED
RGBrgb(179, 102, 237)
HSLhsl(274, 79%, 66%)
HSVhsv(274, 57%, 93%)
CMYKcmyk(24.5%, 57%, 0%, 7.1%)
CIE-LABlab(57.27, 54.53, -56.32)
CIE-LCHlch(57.27, 78.39, 314.07°)
OKLaboklab(65.48% 0.1244 -0.1585)
OKLCHoklch(65.48% 0.202 308.1)
XYZxyz(38.6248, 25.2014, 82.9339)
Luminance0.2520 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B366ED #A0ED66
analogous
#7066ED #B366ED #ED66E4
triadic
#B366ED #EDB366 #66EDB3
tetradic
#B366ED #ED7066 #A0ED66 #66E4ED
square
#B366ED #ED7066 #A0ED66 #66E4ED
split-complementary
#B366ED #E4ED66 #66ED70
monochromatic
#7817C2 #982FE7 #B366ED #CE9DF3 #E9D4FA

Accessibility & contrast

On white

3.48
#B366ED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.04
#B366ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B366ED
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B366ED#FFFFFF#000000##000000
##B366ED1.003.486.046.04
#FFFFFF3.481.0021.0021.00
#0000006.0421.001.001.00
##0000006.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3586F1
Deuteranopia (green-blind)
#538AEA
Tritanopia (blue-blind)
#AA7FA0
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #b366ed;
/* rgb */ color: rgb(179, 102, 237);
/* oklch */ color: oklch(65.5% 0.202 308.1);
Tailwind
colors: {
  custom: {
    50: '#cd95f3',
    500: '#b366ed',
    950: '#000000',
  },
}
SCSS
$custom: #b366ed;
$custom-light: #cd95f3;
$custom-dark: #000000;
JSON
{
  "hex": "#b366ed",
  "rgb": {
    "r": 179,
    "g": 102,
    "b": 237
  },
  "hsl": {
    "h": 274.222,
    "s": 78.947,
    "l": 66.471
  },
  "oklch": {
    "l": 0.65482,
    "c": 0.20155,
    "h": 308.1
  },
  "luminance": 0.25201
}

Semantic roles & 50–950 ramp

primary
#B366ED
secondary
#D4EDC2
accent
#DB0A64
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#140D17
muted
#827E85

Preview Lab

Preview with #B366ED

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

Preview Lab → · Contrast checker → · Palette generator →

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