#B364F6#B364F6

#B364F6 is a light, highly saturated violet. Relative luminance 0.254; OKLCH L 65.8% C 0.214 H 306.3°. Best body text is #000000 at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#B364F6
RGBrgb(179, 100, 246)
HSLhsl(272, 89%, 68%)
HSVhsv(272, 59%, 96%)
CMYKcmyk(27.2%, 59.3%, 0%, 3.5%)
CIE-LABlab(57.42, 57.55, -61.09)
CIE-LCHlch(57.42, 83.93, 313.29°)
OKLaboklab(65.76% 0.1269 -0.1725)
OKLCHoklch(65.76% 0.214 306.3)
XYZxyz(39.7786, 25.3522, 89.9688)
Luminance0.2535 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B364F6 #A7F664
analogous
#6A64F6 #B364F6 #F664F0
triadic
#B364F6 #F6B364 #64F6B3
tetradic
#B364F6 #F66A64 #A7F664 #64F0F6
square
#B364F6 #F66A64 #A7F664 #64F0F6
split-complementary
#B364F6 #F0F664 #64F66A
monochromatic
#780CD3 #972AF3 #B364F6 #CF9EF9 #ECD8FD

Accessibility & contrast

On white

3.46
#B364F6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.07
#B364F6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B364F6
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B364F6#FFFFFF#000000##000000
##B364F61.003.466.076.07
#FFFFFF3.461.0021.0021.00
#0000006.0721.001.001.00
##0000006.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#1F87FB
Deuteranopia (green-blind)
#488AF3
Tritanopia (blue-blind)
#A881A4
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #b364f6;
/* rgb */ color: rgb(179, 100, 246);
/* oklch */ color: oklch(65.8% 0.214 306.3);
Tailwind
colors: {
  custom: {
    50: '#ce94fa',
    500: '#b364f6',
    950: '#000000',
  },
}
SCSS
$custom: #b364f6;
$custom-light: #ce94fa;
$custom-dark: #000000;
JSON
{
  "hex": "#b364f6",
  "rgb": {
    "r": 179,
    "g": 100,
    "b": 246
  },
  "hsl": {
    "h": 272.466,
    "s": 89.024,
    "l": 67.843
  },
  "oklch": {
    "l": 0.65756,
    "c": 0.21416,
    "h": 306.3
  },
  "luminance": 0.25352
}

Semantic roles & 50–950 ramp

primary
#B364F6
secondary
#D9F1C4
accent
#E60069
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140D17
muted
#837E85

Preview Lab

Preview with #B364F6

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

Preview Lab → · Contrast checker → · Palette generator →

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