#B368E4#B368E4

#B368E4 is a light, vivid violet. Relative luminance 0.251; OKLCH L 65.2% C 0.189 H 310.1°. Best body text is #000000 at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#B368E4
RGBrgb(179, 104, 228)
HSLhsl(276, 70%, 65%)
HSVhsv(276, 54%, 89%)
CMYKcmyk(21.5%, 54.4%, 0%, 10.6%)
CIE-LABlab(57.16, 51.51, -51.47)
CIE-LCHlch(57.16, 72.82, 315.03°)
OKLaboklab(65.24% 0.1216 -0.1444)
OKLCHoklch(65.24% 0.189 310.1)
XYZxyz(37.5417, 25.0865, 76.2482)
Luminance0.2509 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B368E4 #99E468
analogous
#7568E4 #B368E4 #E468D7
triadic
#B368E4 #E4B368 #68E4B3
tetradic
#B368E4 #E47568 #99E468 #68D7E4
square
#B368E4 #E47568 #99E468 #68D7E4
split-complementary
#B368E4 #D7E468 #68E475
monochromatic
#7820B2 #9934DB #B368E4 #CD9CED #E7D0F7

Accessibility & contrast

On white

3.49
#B368E4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.02
#B368E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B368E4
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B368E4#FFFFFF#000000##000000
##B368E41.003.496.026.02
#FFFFFF3.491.0021.0021.00
#0000006.0221.001.001.00
##0000006.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4386E8
Deuteranopia (green-blind)
#5C8AE1
Tritanopia (blue-blind)
#AD7E9C
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #b368e4;
/* rgb */ color: rgb(179, 104, 228);
/* oklch */ color: oklch(65.2% 0.189 310.1);
Tailwind
colors: {
  custom: {
    50: '#cd96ed',
    500: '#b368e4',
    950: '#000000',
  },
}
SCSS
$custom: #b368e4;
$custom-light: #cd96ed;
$custom-dark: #000000;
JSON
{
  "hex": "#b368e4",
  "rgb": {
    "r": 179,
    "g": 104,
    "b": 228
  },
  "hsl": {
    "h": 276.29,
    "s": 69.663,
    "l": 65.098
  },
  "oklch": {
    "l": 0.65239,
    "c": 0.18873,
    "h": 310.1
  },
  "luminance": 0.25086
}

Semantic roles & 50–950 ramp

primary
#B368E4
secondary
#CFE9BF
accent
#D2145F
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#140E16
muted
#827E84

Preview Lab

Preview with #B368E4

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

Preview Lab → · Contrast checker → · Palette generator →

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