#B368EF#B368EF

#B368EF is a light, highly saturated violet. Relative luminance 0.257; OKLCH L 65.9% C 0.201 H 307.4°. Best body text is #000000 at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#B368EF
RGBrgb(179, 104, 239)
HSLhsl(273, 81%, 67%)
HSVhsv(273, 56%, 94%)
CMYKcmyk(25.1%, 56.5%, 0%, 6.3%)
CIE-LABlab(57.77, 53.96, -56.64)
CIE-LCHlch(57.77, 78.23, 313.61°)
OKLaboklab(65.88% 0.122 -0.1595)
OKLCHoklch(65.88% 0.201 307.4)
XYZxyz(39.1175, 25.7168, 84.5477)
Luminance0.2572 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B368EF #A4EF68
analogous
#6F68EF #B368EF #EF68E8
triadic
#B368EF #EFB368 #68EFB3
tetradic
#B368EF #EF6F68 #A4EF68 #68E8EF
square
#B368EF #EF6F68 #A4EF68 #68E8EF
split-complementary
#B368EF #E8EF68 #68EF6F
monochromatic
#7815C7 #9731E9 #B368EF #CF9FF5 #EBD7FB

Accessibility & contrast

On white

3.42
#B368EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.14
#B368EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B368EF
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B368EF#FFFFFF#000000##000000
##B368EF1.003.426.146.14
#FFFFFF3.421.0021.0021.00
#0000006.1421.001.001.00
##0000006.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3688F3
Deuteranopia (green-blind)
#548CEC
Tritanopia (blue-blind)
#AA81A2
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #b368ef;
/* rgb */ color: rgb(179, 104, 239);
/* oklch */ color: oklch(65.9% 0.201 307.4);
Tailwind
colors: {
  custom: {
    50: '#cd96f5',
    500: '#b368ef',
    950: '#000000',
  },
}
SCSS
$custom: #b368ef;
$custom-light: #cd96f5;
$custom-dark: #000000;
JSON
{
  "hex": "#b368ef",
  "rgb": {
    "r": 179,
    "g": 104,
    "b": 239
  },
  "hsl": {
    "h": 273.333,
    "s": 80.838,
    "l": 67.255
  },
  "oklch": {
    "l": 0.65881,
    "c": 0.2008,
    "h": 307.4
  },
  "luminance": 0.25716
}

Semantic roles & 50–950 ramp

primary
#B368EF
secondary
#D7EFC4
accent
#DD0867
background
#FCF9FF
surface
#F9F2FE
border
#D2CCD6
text
#140E17
muted
#827E85

Preview Lab

Preview with #B368EF

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

Preview Lab → · Contrast checker → · Palette generator →

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