#B368DA#B368DA

#B368DA is a light, vivid violet. Relative luminance 0.245; OKLCH L 64.7% C 0.178 H 312.8°. Best body text is #000000 at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#B368DA
RGBrgb(179, 104, 218)
HSLhsl(279, 61%, 63%)
HSVhsv(279, 52%, 85%)
CMYKcmyk(17.9%, 52.3%, 0%, 14.5%)
CIE-LABlab(56.63, 49.34, -46.68)
CIE-LCHlch(56.63, 67.93, 316.59°)
OKLaboklab(64.68% 0.1209 -0.1304)
OKLCHoklch(64.68% 0.178 312.8)
XYZxyz(36.1934, 24.5472, 69.1475)
Luminance0.2455 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B368DA #8FDA68
analogous
#7A68DA #B368DA #DA68C8
triadic
#B368DA #DAB368 #68DAB3
tetradic
#B368DA #DA7A68 #8FDA68 #68C8DA
square
#B368DA #DA7A68 #8FDA68 #68C8DA
split-complementary
#B368DA #C8DA68 #68DA7A
monochromatic
#7727A0 #9A37CE #B368DA #CC99E6 #E4CAF2

Accessibility & contrast

On white

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

On black

5.91
#B368DA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B368DA
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B368DA#FFFFFF#000000##000000
##B368DA1.003.555.915.91
#FFFFFF3.551.0021.0021.00
#0000005.9121.001.001.00
##0000005.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B84DE
Deuteranopia (green-blind)
#638AD7
Tritanopia (blue-blind)
#AF7B97
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #b368da;
/* rgb */ color: rgb(179, 104, 218);
/* oklch */ color: oklch(64.7% 0.178 312.8);
Tailwind
colors: {
  custom: {
    50: '#cc96e6',
    500: '#b368da',
    950: '#000000',
  },
}
SCSS
$custom: #b368da;
$custom-light: #cc96e6;
$custom-dark: #000000;
JSON
{
  "hex": "#b368da",
  "rgb": {
    "r": 179,
    "g": 104,
    "b": 218
  },
  "hsl": {
    "h": 279.474,
    "s": 60.638,
    "l": 63.137
  },
  "oklch": {
    "l": 0.64679,
    "c": 0.1778,
    "h": 312.8
  },
  "luminance": 0.24546
}

Semantic roles & 50–950 ramp

primary
#B368DA
secondary
#C8E3BA
accent
#C81D58
background
#FCF9FE
surface
#F9F2FC
border
#D2CCD5
text
#140D16
muted
#827E84

Preview Lab

Preview with #B368DA

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

Preview Lab → · Contrast checker → · Palette generator →

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