#B367E4#B367E4

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

Color values

HEX#B367E4
RGBrgb(179, 103, 228)
HSLhsl(276, 70%, 65%)
HSVhsv(276, 55%, 89%)
CMYKcmyk(21.5%, 54.8%, 0%, 10.6%)
CIE-LABlab(56.96, 52.03, -51.78)
CIE-LCHlch(56.96, 73.40, 315.14°)
OKLaboklab(65.1% 0.1229 -0.1453)
OKLCHoklch(65.1% 0.19 310.2)
XYZxyz(37.4416, 24.8863, 76.2149)
Luminance0.2489 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B367E4 #98E467
analogous
#7567E4 #B367E4 #E467D6
triadic
#B367E4 #E4B367 #67E4B3
tetradic
#B367E4 #E47567 #98E467 #67D6E4
square
#B367E4 #E47567 #98E467 #67D6E4
split-complementary
#B367E4 #D6E467 #67E475
monochromatic
#781FB1 #9933DB #B367E4 #CD9BED #E7CFF6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B367E4#FFFFFF#000000##000000
##B367E41.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)
#4185E8
Deuteranopia (green-blind)
#5B8AE1
Tritanopia (blue-blind)
#AD7D9C
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #b367e4;
/* rgb */ color: rgb(179, 103, 228);
/* oklch */ color: oklch(65.1% 0.190 310.2);
Tailwind
colors: {
  custom: {
    50: '#cd95ed',
    500: '#b367e4',
    950: '#000000',
  },
}
SCSS
$custom: #b367e4;
$custom-light: #cd95ed;
$custom-dark: #000000;
JSON
{
  "hex": "#b367e4",
  "rgb": {
    "r": 179,
    "g": 103,
    "b": 228
  },
  "hsl": {
    "h": 276.48,
    "s": 69.832,
    "l": 64.902
  },
  "oklch": {
    "l": 0.65096,
    "c": 0.19025,
    "h": 310.2
  },
  "luminance": 0.24886
}

Semantic roles & 50–950 ramp

primary
#B367E4
secondary
#CFE9BE
accent
#D2145E
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#140D16
muted
#827E84

Preview Lab

Preview with #B367E4

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

Preview Lab → · Contrast checker → · Palette generator →

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