#B368CF#B368CF

#B368CF is a light, vivid purple. Relative luminance 0.240; OKLCH L 64.1% C 0.166 H 316.2°. Best body text is #000000 at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#B368CF
RGBrgb(179, 104, 207)
HSLhsl(284, 52%, 61%)
HSVhsv(284, 50%, 81%)
CMYKcmyk(13.5%, 49.8%, 0%, 18.8%)
CIE-LABlab(56.08, 47.02, -41.33)
CIE-LCHlch(56.08, 62.61, 318.68°)
OKLaboklab(64.09% 0.1197 -0.1149)
OKLCHoklch(64.09% 0.166 316.2)
XYZxyz(34.8015, 23.9904, 61.8168)
Luminance0.2399 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B368CF #84CF68
analogous
#7F68CF #B368CF #CF68B7
triadic
#B368CF #CFB368 #68CFB3
tetradic
#B368CF #CF7F68 #84CF68 #68B7CF
square
#B368CF #CF7F68 #84CF68 #68B7CF
split-complementary
#B368CF #B7CF68 #68CF7F
monochromatic
#752D8F #9A3CBE #B368CF #CA96DE #E2C5ED

Accessibility & contrast

On white

3.62
#B368CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.80
#B368CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B368CF
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B368CF#FFFFFF#000000##000000
##B368CF1.003.625.805.80
#FFFFFF3.621.0021.0021.00
#0000005.8021.001.001.00
##0000005.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5382D3
Deuteranopia (green-blind)
#6989CC
Tritanopia (blue-blind)
#B27792
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #b368cf;
/* rgb */ color: rgb(179, 104, 207);
/* oklch */ color: oklch(64.1% 0.166 316.2);
Tailwind
colors: {
  custom: {
    50: '#cc95de',
    500: '#b368cf',
    950: '#000000',
  },
}
SCSS
$custom: #b368cf;
$custom-light: #cc95de;
$custom-dark: #000000;
JSON
{
  "hex": "#b368cf",
  "rgb": {
    "r": 179,
    "g": 104,
    "b": 207
  },
  "hsl": {
    "h": 283.689,
    "s": 51.759,
    "l": 60.98
  },
  "oklch": {
    "l": 0.6409,
    "c": 0.16592,
    "h": 316.2
  },
  "luminance": 0.23989
}

Semantic roles & 50–950 ramp

primary
#B368CF
secondary
#C1DDB6
accent
#BF2650
background
#FCF9FD
surface
#F9F2FB
border
#D2CCD4
text
#140D15
muted
#827E83

Preview Lab

Preview with #B368CF

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

Preview Lab → · Contrast checker → · Palette generator →

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