#B368F6#B368F6

#B368F6 is a light, highly saturated violet. Relative luminance 0.261; OKLCH L 66.3% C 0.208 H 305.8°. Best body text is #000000 at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#B368F6
RGBrgb(179, 104, 246)
HSLhsl(272, 89%, 69%)
HSVhsv(272, 58%, 96%)
CMYKcmyk(27.2%, 57.7%, 0%, 3.5%)
CIE-LABlab(58.17, 55.54, -59.89)
CIE-LCHlch(58.17, 81.68, 312.84°)
OKLaboklab(66.3% 0.1221 -0.169)
OKLCHoklch(66.3% 0.209 305.8)
XYZxyz(40.1717, 26.1385, 90.0998)
Luminance0.2614 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B368F6 #ABF668
analogous
#6C68F6 #B368F6 #F668F2
triadic
#B368F6 #F6B368 #68F6B3
tetradic
#B368F6 #F66C68 #ABF668 #68F2F6
square
#B368F6 #F66C68 #ABF668 #68F2F6
split-complementary
#B368F6 #F2F668 #68F66C
monochromatic
#770DD7 #962EF3 #B368F6 #D0A2F9 #EDDCFD

Accessibility & contrast

On white

3.37
#B368F6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.23
#B368F6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B368F6
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B368F6#FFFFFF#000000##000000
##B368F61.003.376.236.23
#FFFFFF3.371.0021.0021.00
#0000006.2321.001.001.00
##0000006.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#2C89FB
Deuteranopia (green-blind)
#4D8CF3
Tritanopia (blue-blind)
#A884A5
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #b368f6;
/* rgb */ color: rgb(179, 104, 246);
/* oklch */ color: oklch(66.3% 0.208 305.8);
Tailwind
colors: {
  custom: {
    50: '#cd96fa',
    500: '#b368f6',
    950: '#000000',
  },
}
SCSS
$custom: #b368f6;
$custom-light: #cd96fa;
$custom-dark: #000000;
JSON
{
  "hex": "#b368f6",
  "rgb": {
    "r": 179,
    "g": 104,
    "b": 246
  },
  "hsl": {
    "h": 271.69,
    "s": 88.75,
    "l": 68.627
  },
  "oklch": {
    "l": 0.66304,
    "c": 0.2085,
    "h": 305.8
  },
  "luminance": 0.26138
}

Semantic roles & 50–950 ramp

primary
#B368F6
secondary
#DCF2C8
accent
#E5006C
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140E17
muted
#837E85

Preview Lab

Preview with #B368F6

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

Preview Lab → · Contrast checker → · Palette generator →

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