#B367F8#B367F8

#B367F8 is a light, highly saturated violet. Relative luminance 0.261; OKLCH L 66.3% C 0.212 H 305.5°. Best body text is #000000 at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#B367F8
RGBrgb(179, 103, 248)
HSLhsl(271, 91%, 69%)
HSVhsv(271, 58%, 97%)
CMYKcmyk(27.8%, 58.5%, 0%, 2.7%)
CIE-LABlab(58.10, 56.50, -61.11)
CIE-LCHlch(58.10, 83.23, 312.75°)
OKLaboklab(66.29% 0.1233 -0.1726)
OKLCHoklch(66.29% 0.212 305.5)
XYZxyz(40.3803, 26.0618, 91.6919)
Luminance0.2606 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B367F8 #ACF867
analogous
#6B67F8 #B367F8 #F867F5
triadic
#B367F8 #F8B367 #67F8B3
tetradic
#B367F8 #F86B67 #ACF867 #67F5F8
square
#B367F8 #F86B67 #ACF867 #67F5F8
split-complementary
#B367F8 #F5F867 #67F86B
monochromatic
#770ADB #962CF5 #B367F8 #D0A2FB #EEDCFD

Accessibility & contrast

On white

3.38
#B367F8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.21
#B367F8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B367F8
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B367F8#FFFFFF#000000##000000
##B367F81.003.386.216.21
#FFFFFF3.381.0021.0021.00
#0000006.2121.001.001.00
##0000006.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#2689FD
Deuteranopia (green-blind)
#4A8CF5
Tritanopia (blue-blind)
#A784A6
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #b367f8;
/* rgb */ color: rgb(179, 103, 248);
/* oklch */ color: oklch(66.3% 0.212 305.5);
Tailwind
colors: {
  custom: {
    50: '#ce96fb',
    500: '#b367f8',
    950: '#000000',
  },
}
SCSS
$custom: #b367f8;
$custom-light: #ce96fb;
$custom-dark: #000000;
JSON
{
  "hex": "#b367f8",
  "rgb": {
    "r": 179,
    "g": 103,
    "b": 248
  },
  "hsl": {
    "h": 271.448,
    "s": 91.195,
    "l": 68.824
  },
  "oklch": {
    "l": 0.66288,
    "c": 0.21211,
    "h": 305.5
  },
  "luminance": 0.26062
}

Semantic roles & 50–950 ramp

primary
#B367F8
secondary
#DCF3C8
accent
#E6006D
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140E17
muted
#837E85

Preview Lab

Preview with #B367F8

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

Preview Lab → · Contrast checker → · Palette generator →

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