#B367E1#B367E1

#B367E1 is a light, vivid violet. Relative luminance 0.247; OKLCH L 64.9% C 0.187 H 311.0°. Best body text is #000000 at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#B367E1
RGBrgb(179, 103, 225)
HSLhsl(277, 67%, 64%)
HSVhsv(277, 54%, 88%)
CMYKcmyk(20.4%, 54.2%, 0%, 11.8%)
CIE-LABlab(56.80, 51.37, -50.35)
CIE-LCHlch(56.80, 71.93, 315.58°)
OKLaboklab(64.92% 0.1227 -0.1411)
OKLCHoklch(64.92% 0.187 311)
XYZxyz(37.0288, 24.7212, 74.0406)
Luminance0.2472 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B367E1 #95E167
analogous
#7667E1 #B367E1 #E167D2
triadic
#B367E1 #E1B367 #67E1B3
tetradic
#B367E1 #E17667 #95E167 #67D2E1
square
#B367E1 #E17667 #95E167 #67D2E1
split-complementary
#B367E1 #D2E167 #67E176
monochromatic
#7822AC #9934D7 #B367E1 #CD9AEB #E6CDF5

Accessibility & contrast

On white

3.53
#B367E1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.94
#B367E1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B367E1
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B367E1#FFFFFF#000000##000000
##B367E11.003.535.945.94
#FFFFFF3.531.0021.0021.00
#0000005.9421.001.001.00
##0000005.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4485E5
Deuteranopia (green-blind)
#5D8ADE
Tritanopia (blue-blind)
#AE7C9A
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #b367e1;
/* rgb */ color: rgb(179, 103, 225);
/* oklch */ color: oklch(64.9% 0.187 311.0);
Tailwind
colors: {
  custom: {
    50: '#cc95eb',
    500: '#b367e1',
    950: '#000000',
  },
}
SCSS
$custom: #b367e1;
$custom-light: #cc95eb;
$custom-dark: #000000;
JSON
{
  "hex": "#b367e1",
  "rgb": {
    "r": 179,
    "g": 103,
    "b": 225
  },
  "hsl": {
    "h": 277.377,
    "s": 67.033,
    "l": 64.314
  },
  "oklch": {
    "l": 0.64924,
    "c": 0.18698,
    "h": 311
  },
  "luminance": 0.2472
}

Semantic roles & 50–950 ramp

primary
#B367E1
secondary
#CDE7BD
accent
#CF175C
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#140D16
muted
#827E84

Preview Lab

Preview with #B367E1

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

Preview Lab → · Contrast checker → · Palette generator →

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