#B367EB#B367EB

#B367EB is a light, vivid violet. Relative luminance 0.253; OKLCH L 65.5% C 0.198 H 308.5°. Best body text is #000000 at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#B367EB
RGBrgb(179, 103, 235)
HSLhsl(275, 77%, 66%)
HSVhsv(275, 56%, 92%)
CMYKcmyk(23.8%, 56.2%, 0%, 7.8%)
CIE-LABlab(57.35, 53.57, -55.08)
CIE-LCHlch(57.35, 76.84, 314.21°)
OKLaboklab(65.5% 0.1231 -0.1549)
OKLCHoklch(65.5% 0.198 308.5)
XYZxyz(38.4331, 25.2829, 81.4366)
Luminance0.2528 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B367EB #9FEB67
analogous
#7167EB #B367EB #EB67E1
triadic
#B367EB #EBB367 #67EBB3
tetradic
#B367EB #EB7167 #9FEB67 #67E1EB
square
#B367EB #EB7167 #9FEB67 #67E1EB
split-complementary
#B367EB #E1EB67 #67EB71
monochromatic
#7819BF #9831E4 #B367EB #CE9DF2 #E9D3F9

Accessibility & contrast

On white

3.47
#B367EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.06
#B367EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B367EB
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B367EB#FFFFFF#000000##000000
##B367EB1.003.476.066.06
#FFFFFF3.471.0021.0021.00
#0000006.0621.001.001.00
##0000006.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3987EF
Deuteranopia (green-blind)
#568BE8
Tritanopia (blue-blind)
#AB7F9F
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #b367eb;
/* rgb */ color: rgb(179, 103, 235);
/* oklch */ color: oklch(65.5% 0.198 308.5);
Tailwind
colors: {
  custom: {
    50: '#cd95f2',
    500: '#b367eb',
    950: '#000000',
  },
}
SCSS
$custom: #b367eb;
$custom-light: #cd95f2;
$custom-dark: #000000;
JSON
{
  "hex": "#b367eb",
  "rgb": {
    "r": 179,
    "g": 103,
    "b": 235
  },
  "hsl": {
    "h": 274.545,
    "s": 76.744,
    "l": 66.275
  },
  "oklch": {
    "l": 0.65503,
    "c": 0.19789,
    "h": 308.5
  },
  "luminance": 0.25282
}

Semantic roles & 50–950 ramp

primary
#B367EB
secondary
#D4ECC1
accent
#D90D63
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#140D17
muted
#827E85

Preview Lab

Preview with #B367EB

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

Preview Lab → · Contrast checker → · Palette generator →

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