#B367E2#B367E2

#B367E2 is a light, vivid violet. Relative luminance 0.248; OKLCH L 65.0% C 0.188 H 310.7°. Best body text is #000000 at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#B367E2
RGBrgb(179, 103, 226)
HSLhsl(277, 68%, 65%)
HSVhsv(277, 54%, 89%)
CMYKcmyk(20.8%, 54.4%, 0%, 11.4%)
CIE-LABlab(56.86, 51.59, -50.83)
CIE-LCHlch(56.86, 72.42, 315.43°)
OKLaboklab(64.98% 0.1228 -0.1425)
OKLCHoklch(64.98% 0.188 310.7)
XYZxyz(37.1656, 24.7759, 74.7611)
Luminance0.2477 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B367E2 #96E267
analogous
#7667E2 #B367E2 #E267D4
triadic
#B367E2 #E2B367 #67E2B3
tetradic
#B367E2 #E27667 #96E267 #67D4E2
square
#B367E2 #E27667 #96E267 #67D4E2
split-complementary
#B367E2 #D4E267 #67E276
monochromatic
#7821AD #9934D8 #B367E2 #CD9AEC #E6CEF6

Accessibility & contrast

On white

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

On black

5.96
#B367E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B367E2
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B367E2#FFFFFF#000000##000000
##B367E21.003.535.965.96
#FFFFFF3.531.0021.0021.00
#0000005.9621.001.001.00
##0000005.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4385E6
Deuteranopia (green-blind)
#5D8ADF
Tritanopia (blue-blind)
#AD7C9B
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #b367e2;
/* rgb */ color: rgb(179, 103, 226);
/* oklch */ color: oklch(65.0% 0.188 310.7);
Tailwind
colors: {
  custom: {
    50: '#cc95ec',
    500: '#b367e2',
    950: '#000000',
  },
}
SCSS
$custom: #b367e2;
$custom-light: #cc95ec;
$custom-dark: #000000;
JSON
{
  "hex": "#b367e2",
  "rgb": {
    "r": 179,
    "g": 103,
    "b": 226
  },
  "hsl": {
    "h": 277.073,
    "s": 67.956,
    "l": 64.51
  },
  "oklch": {
    "l": 0.64981,
    "c": 0.18807,
    "h": 310.7
  },
  "luminance": 0.24775
}

Semantic roles & 50–950 ramp

primary
#B367E2
secondary
#CDE8BD
accent
#D0165D
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#140D16
muted
#827E84

Preview Lab

Preview with #B367E2

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

Preview Lab → · Contrast checker → · Palette generator →

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