#B368EC#B368EC

#B368EC is a light, vivid violet. Relative luminance 0.255; OKLCH L 65.7% C 0.198 H 308.1°. Best body text is #000000 at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#B368EC
RGBrgb(179, 104, 236)
HSLhsl(274, 78%, 67%)
HSVhsv(274, 56%, 93%)
CMYKcmyk(24.2%, 55.9%, 0%, 7.5%)
CIE-LABlab(57.60, 53.28, -55.24)
CIE-LCHlch(57.60, 76.75, 313.97°)
OKLaboklab(65.7% 0.1219 -0.1554)
OKLCHoklch(65.7% 0.198 308.1)
XYZxyz(38.6780, 25.5410, 82.2330)
Luminance0.2554 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B368EC #A1EC68
analogous
#7168EC #B368EC #EC68E3
triadic
#B368EC #ECB368 #68ECB3
tetradic
#B368EC #EC7168 #A1EC68 #68E3EC
square
#B368EC #EC7168 #A1EC68 #68E3EC
split-complementary
#B368EC #E3EC68 #68EC71
monochromatic
#7818C1 #9832E5 #B368EC #CE9EF3 #EAD5FA

Accessibility & contrast

On white

3.44
#B368EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.11
#B368EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B368EC
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B368EC#FFFFFF#000000##000000
##B368EC1.003.446.116.11
#FFFFFF3.441.0021.0021.00
#0000006.1121.001.001.00
##0000006.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A87F0
Deuteranopia (green-blind)
#568BE9
Tritanopia (blue-blind)
#AB80A0
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #b368ec;
/* rgb */ color: rgb(179, 104, 236);
/* oklch */ color: oklch(65.7% 0.198 308.1);
Tailwind
colors: {
  custom: {
    50: '#cd96f3',
    500: '#b368ec',
    950: '#000000',
  },
}
SCSS
$custom: #b368ec;
$custom-light: #cd96f3;
$custom-dark: #000000;
JSON
{
  "hex": "#b368ec",
  "rgb": {
    "r": 179,
    "g": 104,
    "b": 236
  },
  "hsl": {
    "h": 274.091,
    "s": 77.647,
    "l": 66.667
  },
  "oklch": {
    "l": 0.65703,
    "c": 0.19751,
    "h": 308.1
  },
  "luminance": 0.2554
}

Semantic roles & 50–950 ramp

primary
#B368EC
secondary
#D5EDC3
accent
#DA0C65
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#140E17
muted
#827E85

Preview Lab

Preview with #B368EC

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

Preview Lab → · Contrast checker → · Palette generator →

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