#B368F7#B368F7

#B368F7 is a light, highly saturated violet. Relative luminance 0.262; OKLCH L 66.4% C 0.210 H 305.6°. Best body text is #000000 at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#B368F7
RGBrgb(179, 104, 247)
HSLhsl(271, 90%, 69%)
HSVhsv(271, 58%, 97%)
CMYKcmyk(27.5%, 57.9%, 0%, 3.1%)
CIE-LABlab(58.23, 55.77, -60.35)
CIE-LCHlch(58.23, 82.17, 312.74°)
OKLaboklab(66.36% 0.1221 -0.1704)
OKLCHoklch(66.36% 0.21 305.6)
XYZxyz(40.3256, 26.2000, 90.9104)
Luminance0.2620 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B368F7 #ACF768
analogous
#6C68F7 #B368F7 #F768F3
triadic
#B368F7 #F7B368 #68F7B3
tetradic
#B368F7 #F76C68 #ACF768 #68F3F7
square
#B368F7 #F76C68 #ACF768 #68F3F7
split-complementary
#B368F7 #F3F768 #68F76C
monochromatic
#770CD9 #962EF4 #B368F7 #D0A2FA #EEDCFD

Accessibility & contrast

On white

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

On black

6.24
#B368F7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B368F7
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B368F7#FFFFFF#000000##000000
##B368F71.003.376.246.24
#FFFFFF3.371.0021.0021.00
#0000006.2421.001.001.00
##0000006.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#2B8AFC
Deuteranopia (green-blind)
#4C8CF4
Tritanopia (blue-blind)
#A884A6
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #b368f7;
/* rgb */ color: rgb(179, 104, 247);
/* oklch */ color: oklch(66.4% 0.210 305.6);
Tailwind
colors: {
  custom: {
    50: '#cd96fa',
    500: '#b368f7',
    950: '#000000',
  },
}
SCSS
$custom: #b368f7;
$custom-light: #cd96fa;
$custom-dark: #000000;
JSON
{
  "hex": "#b368f7",
  "rgb": {
    "r": 179,
    "g": 104,
    "b": 247
  },
  "hsl": {
    "h": 271.469,
    "s": 89.937,
    "l": 68.824
  },
  "oklch": {
    "l": 0.66365,
    "c": 0.20959,
    "h": 305.6
  },
  "luminance": 0.262
}

Semantic roles & 50–950 ramp

primary
#B368F7
secondary
#DCF3C8
accent
#E6006D
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140E17
muted
#837E85

Preview Lab

Preview with #B368F7

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

Preview Lab → · Contrast checker → · Palette generator →

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