#B368EB#B368EB

#B368EB is a light, vivid violet. Relative luminance 0.255; OKLCH L 65.6% C 0.196 H 308.4°. Best body text is #000000 at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#B368EB
RGBrgb(179, 104, 235)
HSLhsl(274, 77%, 66%)
HSVhsv(274, 56%, 92%)
CMYKcmyk(23.8%, 55.7%, 0%, 7.8%)
CIE-LABlab(57.54, 53.06, -54.77)
CIE-LCHlch(57.54, 76.26, 314.09°)
OKLaboklab(65.65% 0.1219 -0.154)
OKLCHoklch(65.65% 0.196 308.4)
XYZxyz(38.5331, 25.4830, 81.4699)
Luminance0.2548 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B368EB #A0EB68
analogous
#7268EB #B368EB #EB68E2
triadic
#B368EB #EBB368 #68EBB3
tetradic
#B368EB #EB7268 #A0EB68 #68E2EB
square
#B368EB #EB7268 #A0EB68 #68E2EB
split-complementary
#B368EB #E2EB68 #68EB72
monochromatic
#7819BF #9832E4 #B368EB #CE9EF2 #E9D4F9

Accessibility & contrast

On white

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

On black

6.10
#B368EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B368EB
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B368EB#FFFFFF#000000##000000
##B368EB1.003.446.106.10
#FFFFFF3.441.0021.0021.00
#0000006.1021.001.001.00
##0000006.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B87EF
Deuteranopia (green-blind)
#578BE8
Tritanopia (blue-blind)
#AB80A0
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #b368eb;
/* rgb */ color: rgb(179, 104, 235);
/* oklch */ color: oklch(65.6% 0.196 308.4);
Tailwind
colors: {
  custom: {
    50: '#cd96f2',
    500: '#b368eb',
    950: '#000000',
  },
}
SCSS
$custom: #b368eb;
$custom-light: #cd96f2;
$custom-dark: #000000;
JSON
{
  "hex": "#b368eb",
  "rgb": {
    "r": 179,
    "g": 104,
    "b": 235
  },
  "hsl": {
    "h": 274.351,
    "s": 76.608,
    "l": 66.471
  },
  "oklch": {
    "l": 0.65645,
    "c": 0.19641,
    "h": 308.4
  },
  "luminance": 0.25482
}

Semantic roles & 50–950 ramp

primary
#B368EB
secondary
#D4EDC2
accent
#D90D64
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#140E17
muted
#827E85

Preview Lab

Preview with #B368EB

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

Preview Lab → · Contrast checker → · Palette generator →

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