#B367EC#B367EC

#B367EC is a light, vivid violet. Relative luminance 0.253; OKLCH L 65.6% C 0.199 H 308.2°. Best body text is #000000 at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#B367EC
RGBrgb(179, 103, 236)
HSLhsl(274, 78%, 66%)
HSVhsv(274, 56%, 93%)
CMYKcmyk(24.2%, 56.4%, 0%, 7.5%)
CIE-LABlab(57.41, 53.80, -55.55)
CIE-LCHlch(57.41, 77.33, 314.08°)
OKLaboklab(65.56% 0.1232 -0.1563)
OKLCHoklch(65.56% 0.199 308.2)
XYZxyz(38.5780, 25.3409, 82.1996)
Luminance0.2534 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B367EC #A0EC67
analogous
#7167EC #B367EC #EC67E2
triadic
#B367EC #ECB367 #67ECB3
tetradic
#B367EC #EC7167 #A0EC67 #67E2EC
square
#B367EC #EC7167 #A0EC67 #67E2EC
split-complementary
#B367EC #E2EC67 #67EC71
monochromatic
#7818C1 #9831E5 #B367EC #CE9DF3 #E9D4FA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B367EC#FFFFFF#000000##000000
##B367EC1.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)
#3887F0
Deuteranopia (green-blind)
#558BE9
Tritanopia (blue-blind)
#AB80A0
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #b367ec;
/* rgb */ color: rgb(179, 103, 236);
/* oklch */ color: oklch(65.6% 0.199 308.2);
Tailwind
colors: {
  custom: {
    50: '#cd95f3',
    500: '#b367ec',
    950: '#000000',
  },
}
SCSS
$custom: #b367ec;
$custom-light: #cd95f3;
$custom-dark: #000000;
JSON
{
  "hex": "#b367ec",
  "rgb": {
    "r": 179,
    "g": 103,
    "b": 236
  },
  "hsl": {
    "h": 274.286,
    "s": 77.778,
    "l": 66.471
  },
  "oklch": {
    "l": 0.65562,
    "c": 0.19899,
    "h": 308.2
  },
  "luminance": 0.2534
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B367EC

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

Preview Lab → · Contrast checker → · Palette generator →

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