#B368EE#B368EE

#B368EE is a light, vivid violet. Relative luminance 0.257; OKLCH L 65.8% C 0.200 H 307.6°. Best body text is #000000 at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#B368EE
RGBrgb(179, 104, 238)
HSLhsl(274, 80%, 67%)
HSVhsv(274, 56%, 93%)
CMYKcmyk(24.8%, 56.3%, 0%, 6.7%)
CIE-LABlab(57.71, 53.73, -56.18)
CIE-LCHlch(57.71, 77.74, 313.73°)
OKLaboklab(65.82% 0.122 -0.1581)
OKLCHoklch(65.82% 0.2 307.6)
XYZxyz(38.9702, 25.6579, 83.7718)
Luminance0.2566 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B368EE #A3EE68
analogous
#7068EE #B368EE #EE68E6
triadic
#B368EE #EEB368 #68EEB3
tetradic
#B368EE #EE7068 #A3EE68 #68E6EE
square
#B368EE #EE7068 #A3EE68 #68E6EE
split-complementary
#B368EE #E6EE68 #68EE70
monochromatic
#7816C5 #9731E8 #B368EE #CF9FF4 #EAD6FA

Accessibility & contrast

On white

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

On black

6.13
#B368EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B368EE
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B368EE#FFFFFF#000000##000000
##B368EE1.003.426.136.13
#FFFFFF3.421.0021.0021.00
#0000006.1321.001.001.00
##0000006.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3888F2
Deuteranopia (green-blind)
#558BEB
Tritanopia (blue-blind)
#AA81A1
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #b368ee;
/* rgb */ color: rgb(179, 104, 238);
/* oklch */ color: oklch(65.8% 0.200 307.6);
Tailwind
colors: {
  custom: {
    50: '#cd96f4',
    500: '#b368ee',
    950: '#000000',
  },
}
SCSS
$custom: #b368ee;
$custom-light: #cd96f4;
$custom-dark: #000000;
JSON
{
  "hex": "#b368ee",
  "rgb": {
    "r": 179,
    "g": 104,
    "b": 238
  },
  "hsl": {
    "h": 273.582,
    "s": 79.762,
    "l": 67.059
  },
  "oklch": {
    "l": 0.65822,
    "c": 0.1997,
    "h": 307.6
  },
  "luminance": 0.25657
}

Semantic roles & 50–950 ramp

primary
#B368EE
secondary
#D6EEC4
accent
#DC0966
background
#FCF9FF
surface
#F9F2FE
border
#D2CCD6
text
#140E17
muted
#827E85

Preview Lab

Preview with #B368EE

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

Preview Lab → · Contrast checker → · Palette generator →

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