#B368FD#B368FD

#B368FD is a light, highly saturated violet. Relative luminance 0.266; OKLCH L 66.7% C 0.216 H 304.4°. Best body text is #000000 at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#B368FD
RGBrgb(179, 104, 253)
HSLhsl(270, 97%, 70%)
HSVhsv(270, 59%, 99%)
CMYKcmyk(29.2%, 58.9%, 0%, 0.8%)
CIE-LABlab(58.58, 57.14, -63.10)
CIE-LCHlch(58.58, 85.13, 312.16°)
OKLaboklab(66.74% 0.122 -0.1784)
OKLCHoklch(66.74% 0.216 304.4)
XYZxyz(41.2664, 26.5764, 95.8652)
Luminance0.2658 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B368FD #B2FD68
analogous
#6868FD #B368FD #FD68FD
triadic
#B368FD #FDB368 #68FDB3
tetradic
#B368FD #FD6868 #B2FD68 #68FDFD
square
#B368FD #FD6868 #B2FD68 #68FDFD
split-complementary
#B368FD #FDFD68 #68FD68
monochromatic
#7603E8 #952CFC #B368FD #D1A4FE #F0E1FF

Accessibility & contrast

On white

3.33
#B368FD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.32
#B368FD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B368FD
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B368FD#FFFFFF#000000##000000
##B368FD1.003.336.326.32
#FFFFFF3.331.0021.0021.00
#0000006.3221.001.001.00
##0000006.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#1E8BFF
Deuteranopia (green-blind)
#468DFA
Tritanopia (blue-blind)
#A686A9
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #b368fd;
/* rgb */ color: rgb(179, 104, 253);
/* oklch */ color: oklch(66.7% 0.216 304.4);
Tailwind
colors: {
  custom: {
    50: '#ce96ff',
    500: '#b368fd',
    950: '#000000',
  },
}
SCSS
$custom: #b368fd;
$custom-light: #ce96ff;
$custom-dark: #000000;
JSON
{
  "hex": "#b368fd",
  "rgb": {
    "r": 179,
    "g": 104,
    "b": 253
  },
  "hsl": {
    "h": 270.201,
    "s": 97.386,
    "l": 70
  },
  "oklch": {
    "l": 0.66737,
    "c": 0.21617,
    "h": 304.4
  },
  "luminance": 0.26576
}

Semantic roles & 50–950 ramp

primary
#B368FD
secondary
#E0F5CC
accent
#E60072
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140E18
muted
#837E86

Preview Lab

Preview with #B368FD

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

Preview Lab → · Contrast checker → · Palette generator →

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