#B368F3#B368F3

#B368F3 is a light, highly saturated violet. Relative luminance 0.260; OKLCH L 66.1% C 0.205 H 306.5°. Best body text is #000000 at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#B368F3
RGBrgb(179, 104, 243)
HSLhsl(272, 85%, 68%)
HSVhsv(272, 57%, 95%)
CMYKcmyk(26.3%, 57.2%, 0%, 4.7%)
CIE-LABlab(58.00, 54.86, -58.50)
CIE-LCHlch(58.00, 80.20, 313.16°)
OKLaboklab(66.12% 0.1221 -0.1649)
OKLCHoklch(66.12% 0.205 306.5)
XYZxyz(39.7150, 25.9558, 87.6944)
Luminance0.2596 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B368F3 #A8F368
analogous
#6D68F3 #B368F3 #F368EE
triadic
#B368F3 #F3B368 #68F3B3
tetradic
#B368F3 #F36D68 #A8F368 #68EEF3
square
#B368F3 #F36D68 #A8F368 #68EEF3
split-complementary
#B368F3 #EEF368 #68F36D
monochromatic
#7811D0 #962FEE #B368F3 #D0A1F8 #ECD9FC

Accessibility & contrast

On white

3.39
#B368F3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.19
#B368F3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B368F3
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B368F3#FFFFFF#000000##000000
##B368F31.003.396.196.19
#FFFFFF3.391.0021.0021.00
#0000006.1921.001.001.00
##0000006.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3189F8
Deuteranopia (green-blind)
#508CF0
Tritanopia (blue-blind)
#A983A4
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #b368f3;
/* rgb */ color: rgb(179, 104, 243);
/* oklch */ color: oklch(66.1% 0.205 306.5);
Tailwind
colors: {
  custom: {
    50: '#cd96f8',
    500: '#b368f3',
    950: '#000000',
  },
}
SCSS
$custom: #b368f3;
$custom-light: #cd96f8;
$custom-dark: #000000;
JSON
{
  "hex": "#b368f3",
  "rgb": {
    "r": 179,
    "g": 104,
    "b": 243
  },
  "hsl": {
    "h": 272.374,
    "s": 85.276,
    "l": 68.039
  },
  "oklch": {
    "l": 0.66121,
    "c": 0.20519,
    "h": 306.5
  },
  "luminance": 0.25955
}

Semantic roles & 50–950 ramp

primary
#B368F3
secondary
#DAF1C6
accent
#E2046A
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140E17
muted
#837E85

Preview Lab

Preview with #B368F3

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

Preview Lab → · Contrast checker → · Palette generator →

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