#B368F5#B368F5

#B368F5 is a light, highly saturated violet. Relative luminance 0.261; OKLCH L 66.2% C 0.207 H 306.1°. Best body text is #000000 at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#B368F5
RGBrgb(179, 104, 245)
HSLhsl(272, 88%, 68%)
HSVhsv(272, 58%, 96%)
CMYKcmyk(26.9%, 57.6%, 0%, 3.9%)
CIE-LABlab(58.11, 55.31, -59.43)
CIE-LCHlch(58.11, 81.19, 312.95°)
OKLaboklab(66.24% 0.1221 -0.1677)
OKLCHoklch(66.24% 0.207 306.1)
XYZxyz(40.0187, 26.0772, 89.2937)
Luminance0.2608 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B368F5 #AAF568
analogous
#6C68F5 #B368F5 #F568F0
triadic
#B368F5 #F5B368 #68F5B3
tetradic
#B368F5 #F56C68 #AAF568 #68F0F5
square
#B368F5 #F56C68 #AAF568 #68F0F5
split-complementary
#B368F5 #F0F568 #68F56C
monochromatic
#780ED5 #962FF1 #B368F5 #D0A1F9 #EDDBFD

Accessibility & contrast

On white

3.38
#B368F5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.22
#B368F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B368F5
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B368F5#FFFFFF#000000##000000
##B368F51.003.386.226.22
#FFFFFF3.381.0021.0021.00
#0000006.2221.001.001.00
##0000006.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#2E89FA
Deuteranopia (green-blind)
#4E8CF2
Tritanopia (blue-blind)
#A883A5
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #b368f5;
/* rgb */ color: rgb(179, 104, 245);
/* oklch */ color: oklch(66.2% 0.207 306.1);
Tailwind
colors: {
  custom: {
    50: '#cd96f9',
    500: '#b368f5',
    950: '#000000',
  },
}
SCSS
$custom: #b368f5;
$custom-light: #cd96f9;
$custom-dark: #000000;
JSON
{
  "hex": "#b368f5",
  "rgb": {
    "r": 179,
    "g": 104,
    "b": 245
  },
  "hsl": {
    "h": 271.915,
    "s": 87.578,
    "l": 68.431
  },
  "oklch": {
    "l": 0.66243,
    "c": 0.2074,
    "h": 306.1
  },
  "luminance": 0.26077
}

Semantic roles & 50–950 ramp

primary
#B368F5
secondary
#DBF2C7
accent
#E4016C
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140E17
muted
#837E85

Preview Lab

Preview with #B368F5

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

Preview Lab → · Contrast checker → · Palette generator →

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