#B368E5#B368E5

#B368E5 is a light, vivid violet. Relative luminance 0.251; OKLCH L 65.3% C 0.190 H 309.8°. Best body text is #000000 at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#B368E5
RGBrgb(179, 104, 229)
HSLhsl(276, 71%, 65%)
HSVhsv(276, 55%, 90%)
CMYKcmyk(21.8%, 54.6%, 0%, 10.2%)
CIE-LABlab(57.21, 51.73, -51.94)
CIE-LCHlch(57.21, 73.31, 314.88°)
OKLaboklab(65.3% 0.1216 -0.1457)
OKLCHoklch(65.3% 0.19 309.8)
XYZxyz(37.6809, 25.1421, 76.9815)
Luminance0.2514 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B368E5 #9AE568
analogous
#7468E5 #B368E5 #E568D8
triadic
#B368E5 #E5B368 #68E5B3
tetradic
#B368E5 #E57468 #9AE568 #68D8E5
square
#B368E5 #E57468 #9AE568 #68D8E5
split-complementary
#B368E5 #D8E568 #68E574
monochromatic
#781FB4 #9934DC #B368E5 #CD9CEE #E8D0F7

Accessibility & contrast

On white

3.48
#B368E5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.03
#B368E5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B368E5
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B368E5#FFFFFF#000000##000000
##B368E51.003.486.036.03
#FFFFFF3.481.0021.0021.00
#0000006.0321.001.001.00
##0000006.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4286E9
Deuteranopia (green-blind)
#5C8BE2
Tritanopia (blue-blind)
#AD7E9D
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #b368e5;
/* rgb */ color: rgb(179, 104, 229);
/* oklch */ color: oklch(65.3% 0.190 309.8);
Tailwind
colors: {
  custom: {
    50: '#cd96ee',
    500: '#b368e5',
    950: '#000000',
  },
}
SCSS
$custom: #b368e5;
$custom-light: #cd96ee;
$custom-dark: #000000;
JSON
{
  "hex": "#b368e5",
  "rgb": {
    "r": 179,
    "g": 104,
    "b": 229
  },
  "hsl": {
    "h": 276,
    "s": 70.621,
    "l": 65.294
  },
  "oklch": {
    "l": 0.65296,
    "c": 0.18982,
    "h": 309.8
  },
  "luminance": 0.25141
}

Semantic roles & 50–950 ramp

primary
#B368E5
secondary
#D0E9BF
accent
#D31360
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#140E16
muted
#827E84

Preview Lab

Preview with #B368E5

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

Preview Lab → · Contrast checker → · Palette generator →

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