#B368F1#B368F1

#B368F1 is a light, highly saturated violet. Relative luminance 0.258; OKLCH L 66.0% C 0.203 H 307.0°. Best body text is #000000 at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#B368F1
RGBrgb(179, 104, 241)
HSLhsl(273, 83%, 68%)
HSVhsv(273, 57%, 95%)
CMYKcmyk(25.7%, 56.8%, 0%, 5.5%)
CIE-LABlab(57.88, 54.41, -57.57)
CIE-LCHlch(57.88, 79.21, 313.38°)
OKLaboklab(66% 0.122 -0.1622)
OKLCHoklch(66% 0.203 307)
XYZxyz(39.4146, 25.8356, 86.1124)
Luminance0.2584 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B368F1 #A6F168
analogous
#6F68F1 #B368F1 #F168EA
triadic
#B368F1 #F1B368 #68F1B3
tetradic
#B368F1 #F16F68 #A6F168 #68EAF1
square
#B368F1 #F16F68 #A6F168 #68EAF1
split-complementary
#B368F1 #EAF168 #68F16F
monochromatic
#7813CC #9730EC #B368F1 #CFA0F6 #EBD8FB

Accessibility & contrast

On white

3.41
#B368F1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.17
#B368F1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B368F1
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B368F1#FFFFFF#000000##000000
##B368F11.003.416.176.17
#FFFFFF3.411.0021.0021.00
#0000006.1721.001.001.00
##0000006.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3488F5
Deuteranopia (green-blind)
#528CEE
Tritanopia (blue-blind)
#A982A3
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #b368f1;
/* rgb */ color: rgb(179, 104, 241);
/* oklch */ color: oklch(66.0% 0.203 307.0);
Tailwind
colors: {
  custom: {
    50: '#cd96f6',
    500: '#b368f1',
    950: '#000000',
  },
}
SCSS
$custom: #b368f1;
$custom-light: #cd96f6;
$custom-dark: #000000;
JSON
{
  "hex": "#b368f1",
  "rgb": {
    "r": 179,
    "g": 104,
    "b": 241
  },
  "hsl": {
    "h": 272.847,
    "s": 83.03,
    "l": 67.647
  },
  "oklch": {
    "l": 0.66001,
    "c": 0.203,
    "h": 307
  },
  "luminance": 0.25835
}

Semantic roles & 50–950 ramp

primary
#B368F1
secondary
#D8F0C5
accent
#DF0668
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140E17
muted
#837E85

Preview Lab

Preview with #B368F1

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

Preview Lab → · Contrast checker → · Palette generator →

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