#B368F2#B368F2

#B368F2 is a light, highly saturated violet. Relative luminance 0.259; OKLCH L 66.1% C 0.204 H 306.7°. Best body text is #000000 at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#B368F2
RGBrgb(179, 104, 242)
HSLhsl(273, 84%, 68%)
HSVhsv(273, 57%, 95%)
CMYKcmyk(26%, 57%, 0%, 5.1%)
CIE-LABlab(57.94, 54.63, -58.04)
CIE-LCHlch(57.94, 79.71, 313.27°)
OKLaboklab(66.06% 0.1221 -0.1636)
OKLCHoklch(66.06% 0.204 306.7)
XYZxyz(39.5644, 25.8955, 86.9012)
Luminance0.2590 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B368F2 #A7F268
analogous
#6E68F2 #B368F2 #F268EC
triadic
#B368F2 #F2B368 #68F2B3
tetradic
#B368F2 #F26E68 #A7F268 #68ECF2
square
#B368F2 #F26E68 #A7F268 #68ECF2
split-complementary
#B368F2 #ECF268 #68F26E
monochromatic
#7812CE #9730ED #B368F2 #CFA0F7 #ECD9FC

Accessibility & contrast

On white

3.40
#B368F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.18
#B368F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B368F2
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B368F2#FFFFFF#000000##000000
##B368F21.003.406.186.18
#FFFFFF3.401.0021.0021.00
#0000006.1821.001.001.00
##0000006.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3289F6
Deuteranopia (green-blind)
#518CEF
Tritanopia (blue-blind)
#A982A3
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #b368f2;
/* rgb */ color: rgb(179, 104, 242);
/* oklch */ color: oklch(66.1% 0.204 306.7);
Tailwind
colors: {
  custom: {
    50: '#cd96f7',
    500: '#b368f2',
    950: '#000000',
  },
}
SCSS
$custom: #b368f2;
$custom-light: #cd96f7;
$custom-dark: #000000;
JSON
{
  "hex": "#b368f2",
  "rgb": {
    "r": 179,
    "g": 104,
    "b": 242
  },
  "hsl": {
    "h": 272.609,
    "s": 84.146,
    "l": 67.843
  },
  "oklch": {
    "l": 0.66061,
    "c": 0.20409,
    "h": 306.7
  },
  "luminance": 0.25895
}

Semantic roles & 50–950 ramp

primary
#B368F2
secondary
#D9F0C6
accent
#E10569
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140E17
muted
#837E85

Preview Lab

Preview with #B368F2

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

Preview Lab → · Contrast checker → · Palette generator →

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