#B368E8#B368E8

#B368E8 is a light, vivid violet. Relative luminance 0.253; OKLCH L 65.5% C 0.193 H 309.1°. Best body text is #000000 at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#B368E8
RGBrgb(179, 104, 232)
HSLhsl(275, 74%, 66%)
HSVhsv(275, 55%, 91%)
CMYKcmyk(22.8%, 55.2%, 0%, 9%)
CIE-LABlab(57.38, 52.39, -53.36)
CIE-LCHlch(57.38, 74.78, 314.48°)
OKLaboklab(65.47% 0.1218 -0.1499)
OKLCHoklch(65.47% 0.193 309.1)
XYZxyz(38.1034, 25.3111, 79.2065)
Luminance0.2531 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B368E8 #9DE868
analogous
#7368E8 #B368E8 #E868DD
triadic
#B368E8 #E8B368 #68E8B3
tetradic
#B368E8 #E87368 #9DE868 #68DDE8
square
#B368E8 #E87368 #9DE868 #68DDE8
split-complementary
#B368E8 #DDE868 #68E873
monochromatic
#781CB9 #9833E0 #B368E8 #CE9DF0 #E8D2F8

Accessibility & contrast

On white

3.46
#B368E8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.06
#B368E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B368E8
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B368E8#FFFFFF#000000##000000
##B368E81.003.466.066.06
#FFFFFF3.461.0021.0021.00
#0000006.0621.001.001.00
##0000006.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F87EC
Deuteranopia (green-blind)
#598BE5
Tritanopia (blue-blind)
#AC7F9E
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #b368e8;
/* rgb */ color: rgb(179, 104, 232);
/* oklch */ color: oklch(65.5% 0.193 309.1);
Tailwind
colors: {
  custom: {
    50: '#cd96f0',
    500: '#b368e8',
    950: '#000000',
  },
}
SCSS
$custom: #b368e8;
$custom-light: #cd96f0;
$custom-dark: #000000;
JSON
{
  "hex": "#b368e8",
  "rgb": {
    "r": 179,
    "g": 104,
    "b": 232
  },
  "hsl": {
    "h": 275.156,
    "s": 73.563,
    "l": 65.882
  },
  "oklch": {
    "l": 0.65469,
    "c": 0.19312,
    "h": 309.1
  },
  "luminance": 0.25311
}

Semantic roles & 50–950 ramp

primary
#B368E8
secondary
#D2EBC1
accent
#D61062
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#140E17
muted
#827E85

Preview Lab

Preview with #B368E8

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

Preview Lab → · Contrast checker → · Palette generator →

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