#B368DB#B368DB

#B368DB is a light, vivid violet. Relative luminance 0.246; OKLCH L 64.7% C 0.179 H 312.5°. Best body text is #000000 at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#B368DB
RGBrgb(179, 104, 219)
HSLhsl(279, 61%, 63%)
HSVhsv(279, 53%, 86%)
CMYKcmyk(18.3%, 52.5%, 0%, 14.1%)
CIE-LABlab(56.68, 49.56, -47.17)
CIE-LCHlch(56.68, 68.41, 316.42°)
OKLaboklab(64.73% 0.121 -0.1318)
OKLCHoklch(64.73% 0.179 312.5)
XYZxyz(36.3247, 24.5997, 69.8388)
Luminance0.2460 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B368DB #90DB68
analogous
#7968DB #B368DB #DB68CA
triadic
#B368DB #DBB368 #68DBB3
tetradic
#B368DB #DB7968 #90DB68 #68CADB
square
#B368DB #DB7968 #90DB68 #68CADB
split-complementary
#B368DB #CADB68 #68DB79
monochromatic
#7727A2 #9A37CF #B368DB #CC99E7 #E5CBF3

Accessibility & contrast

On white

3.55
#B368DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.92
#B368DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B368DB
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B368DB#FFFFFF#000000##000000
##B368DB1.003.555.925.92
#FFFFFF3.551.0021.0021.00
#0000005.9221.001.001.00
##0000005.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A84DF
Deuteranopia (green-blind)
#628AD8
Tritanopia (blue-blind)
#AF7B98
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #b368db;
/* rgb */ color: rgb(179, 104, 219);
/* oklch */ color: oklch(64.7% 0.179 312.5);
Tailwind
colors: {
  custom: {
    50: '#cc96e7',
    500: '#b368db',
    950: '#000000',
  },
}
SCSS
$custom: #b368db;
$custom-light: #cc96e7;
$custom-dark: #000000;
JSON
{
  "hex": "#b368db",
  "rgb": {
    "r": 179,
    "g": 104,
    "b": 219
  },
  "hsl": {
    "h": 279.13,
    "s": 61.497,
    "l": 63.333
  },
  "oklch": {
    "l": 0.64734,
    "c": 0.17889,
    "h": 312.5
  },
  "luminance": 0.24599
}

Semantic roles & 50–950 ramp

primary
#B368DB
secondary
#C9E4BB
accent
#C91C58
background
#FCF9FE
surface
#F9F2FC
border
#D2CCD5
text
#140D16
muted
#827E84

Preview Lab

Preview with #B368DB

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

Preview Lab → · Contrast checker → · Palette generator →

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