#B368FB#B368FB

#B368FB is a light, highly saturated violet. Relative luminance 0.264; OKLCH L 66.6% C 0.214 H 304.8°. Best body text is #000000 at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#B368FB
RGBrgb(179, 104, 251)
HSLhsl(271, 95%, 70%)
HSVhsv(271, 59%, 98%)
CMYKcmyk(28.7%, 58.6%, 0%, 1.6%)
CIE-LABlab(58.46, 56.68, -62.19)
CIE-LCHlch(58.46, 84.14, 312.35°)
OKLaboklab(66.61% 0.1221 -0.1757)
OKLCHoklch(66.61% 0.214 304.8)
XYZxyz(40.9495, 26.4496, 94.1961)
Luminance0.2645 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B368FB #B0FB68
analogous
#6968FB #B368FB #FB68FA
triadic
#B368FB #FBB368 #68FBB3
tetradic
#B368FB #FB6968 #B0FB68 #68FAFB
square
#B368FB #FB6968 #B0FB68 #68FAFB
split-complementary
#B368FB #FAFB68 #68FB69
monochromatic
#7706E3 #952CF9 #B368FB #D1A4FD #EFDFFE

Accessibility & contrast

On white

3.34
#B368FB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.29
#B368FB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B368FB
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B368FB#FFFFFF#000000##000000
##B368FB1.003.346.296.29
#FFFFFF3.341.0021.0021.00
#0000006.2921.001.001.00
##0000006.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#238BFF
Deuteranopia (green-blind)
#488DF8
Tritanopia (blue-blind)
#A685A8
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #b368fb;
/* rgb */ color: rgb(179, 104, 251);
/* oklch */ color: oklch(66.6% 0.214 304.8);
Tailwind
colors: {
  custom: {
    50: '#ce96fd',
    500: '#b368fb',
    950: '#000000',
  },
}
SCSS
$custom: #b368fb;
$custom-light: #ce96fd;
$custom-dark: #000000;
JSON
{
  "hex": "#b368fb",
  "rgb": {
    "r": 179,
    "g": 104,
    "b": 251
  },
  "hsl": {
    "h": 270.612,
    "s": 94.839,
    "l": 69.608
  },
  "oklch": {
    "l": 0.66612,
    "c": 0.21398,
    "h": 304.8
  },
  "luminance": 0.26449
}

Semantic roles & 50–950 ramp

primary
#B368FB
secondary
#DFF4CA
accent
#E60070
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140E18
muted
#837E86

Preview Lab

Preview with #B368FB

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

Preview Lab → · Contrast checker → · Palette generator →

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