#B368F9#B368F9

#B368F9 is a light, highly saturated violet. Relative luminance 0.263; OKLCH L 66.5% C 0.212 H 305.2°. Best body text is #000000 at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#B368F9
RGBrgb(179, 104, 249)
HSLhsl(271, 92%, 69%)
HSVhsv(271, 58%, 98%)
CMYKcmyk(28.1%, 58.2%, 0%, 2.4%)
CIE-LABlab(58.34, 56.22, -61.27)
CIE-LCHlch(58.34, 83.16, 312.54°)
OKLaboklab(66.49% 0.1221 -0.1731)
OKLCHoklch(66.49% 0.212 305.2)
XYZxyz(40.6359, 26.3241, 92.5445)
Luminance0.2632 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B368F9 #AEF968
analogous
#6B68F9 #B368F9 #F968F7
triadic
#B368F9 #F9B368 #68F9B3
tetradic
#B368F9 #F96B68 #AEF968 #68F7F9
square
#B368F9 #F96B68 #AEF968 #68F7F9
split-complementary
#B368F9 #F7F968 #68F96B
monochromatic
#7709DE #952DF7 #B368F9 #D1A3FB #EEDEFE

Accessibility & contrast

On white

3.35
#B368F9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.26
#B368F9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B368F9
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B368F9#FFFFFF#000000##000000
##B368F91.003.356.266.26
#FFFFFF3.351.0021.0021.00
#0000006.2621.001.001.00
##0000006.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#278AFE
Deuteranopia (green-blind)
#4A8CF6
Tritanopia (blue-blind)
#A785A7
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #b368f9;
/* rgb */ color: rgb(179, 104, 249);
/* oklch */ color: oklch(66.5% 0.212 305.2);
Tailwind
colors: {
  custom: {
    50: '#ce96fc',
    500: '#b368f9',
    950: '#000000',
  },
}
SCSS
$custom: #b368f9;
$custom-light: #ce96fc;
$custom-dark: #000000;
JSON
{
  "hex": "#b368f9",
  "rgb": {
    "r": 179,
    "g": 104,
    "b": 249
  },
  "hsl": {
    "h": 271.034,
    "s": 92.357,
    "l": 69.216
  },
  "oklch": {
    "l": 0.66488,
    "c": 0.21179,
    "h": 305.2
  },
  "luminance": 0.26324
}

Semantic roles & 50–950 ramp

primary
#B368F9
secondary
#DEF3C9
accent
#E6006F
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140E18
muted
#837E86

Preview Lab

Preview with #B368F9

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

Preview Lab → · Contrast checker → · Palette generator →

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