#B368E1#B368E1

#B368E1 is a light, vivid violet. Relative luminance 0.249; OKLCH L 65.1% C 0.185 H 310.9°. Best body text is #000000 at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#B368E1
RGBrgb(179, 104, 225)
HSLhsl(277, 67%, 65%)
HSVhsv(277, 54%, 88%)
CMYKcmyk(20.4%, 53.8%, 0%, 11.8%)
CIE-LABlab(57.00, 50.86, -50.04)
CIE-LCHlch(57.00, 71.35, 315.46°)
OKLaboklab(65.07% 0.1214 -0.1402)
OKLCHoklch(65.07% 0.185 310.9)
XYZxyz(37.1288, 24.9213, 74.0739)
Luminance0.2492 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B368E1 #96E168
analogous
#7768E1 #B368E1 #E168D3
triadic
#B368E1 #E1B368 #68E1B3
tetradic
#B368E1 #E17768 #96E168 #68D3E1
square
#B368E1 #E17768 #96E168 #68D3E1
split-complementary
#B368E1 #D3E168 #68E177
monochromatic
#7822AC #9935D7 #B368E1 #CD9BEB #E6CEF5

Accessibility & contrast

On white

3.51
#B368E1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.98
#B368E1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B368E1
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B368E1#FFFFFF#000000##000000
##B368E11.003.515.985.98
#FFFFFF3.511.0021.0021.00
#0000005.9821.001.001.00
##0000005.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4585E5
Deuteranopia (green-blind)
#5E8ADE
Tritanopia (blue-blind)
#AE7D9B
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #b368e1;
/* rgb */ color: rgb(179, 104, 225);
/* oklch */ color: oklch(65.1% 0.185 310.9);
Tailwind
colors: {
  custom: {
    50: '#cc96eb',
    500: '#b368e1',
    950: '#000000',
  },
}
SCSS
$custom: #b368e1;
$custom-light: #cc96eb;
$custom-dark: #000000;
JSON
{
  "hex": "#b368e1",
  "rgb": {
    "r": 179,
    "g": 104,
    "b": 225
  },
  "hsl": {
    "h": 277.19,
    "s": 66.851,
    "l": 64.51
  },
  "oklch": {
    "l": 0.65068,
    "c": 0.18544,
    "h": 310.9
  },
  "luminance": 0.24921
}

Semantic roles & 50–950 ramp

primary
#B368E1
secondary
#CDE7BE
accent
#CF175D
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#140D16
muted
#827E84

Preview Lab

Preview with #B368E1

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

Preview Lab → · Contrast checker → · Palette generator →

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