#B368F8#B368F8

#B368F8 is a light, highly saturated violet. Relative luminance 0.263; OKLCH L 66.4% C 0.211 H 305.4°. Best body text is #000000 at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#B368F8
RGBrgb(179, 104, 248)
HSLhsl(271, 91%, 69%)
HSVhsv(271, 58%, 97%)
CMYKcmyk(27.8%, 58.1%, 0%, 2.7%)
CIE-LABlab(58.28, 55.99, -60.81)
CIE-LCHlch(58.28, 82.66, 312.64°)
OKLaboklab(66.43% 0.1221 -0.1717)
OKLCHoklch(66.43% 0.211 305.4)
XYZxyz(40.4803, 26.2619, 91.7252)
Luminance0.2626 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B368F8 #ADF868
analogous
#6B68F8 #B368F8 #F868F5
triadic
#B368F8 #F8B368 #68F8B3
tetradic
#B368F8 #F86B68 #ADF868 #68F5F8
square
#B368F8 #F86B68 #ADF868 #68F5F8
split-complementary
#B368F8 #F5F868 #68F86B
monochromatic
#770ADB #962EF5 #B368F8 #D0A2FB #EEDDFD

Accessibility & contrast

On white

3.36
#B368F8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.25
#B368F8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B368F8
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B368F8#FFFFFF#000000##000000
##B368F81.003.366.256.25
#FFFFFF3.361.0021.0021.00
#0000006.2521.001.001.00
##0000006.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#298AFD
Deuteranopia (green-blind)
#4B8CF5
Tritanopia (blue-blind)
#A784A6
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #b368f8;
/* rgb */ color: rgb(179, 104, 248);
/* oklch */ color: oklch(66.4% 0.211 305.4);
Tailwind
colors: {
  custom: {
    50: '#ce96fb',
    500: '#b368f8',
    950: '#000000',
  },
}
SCSS
$custom: #b368f8;
$custom-light: #ce96fb;
$custom-dark: #000000;
JSON
{
  "hex": "#b368f8",
  "rgb": {
    "r": 179,
    "g": 104,
    "b": 248
  },
  "hsl": {
    "h": 271.25,
    "s": 91.139,
    "l": 69.02
  },
  "oklch": {
    "l": 0.66426,
    "c": 0.21069,
    "h": 305.4
  },
  "luminance": 0.26262
}

Semantic roles & 50–950 ramp

primary
#B368F8
secondary
#DDF3C9
accent
#E6006E
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140E17
muted
#837E85

Preview Lab

Preview with #B368F8

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

Preview Lab → · Contrast checker → · Palette generator →

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