#B368FC#B368FC

#B368FC is a light, highly saturated violet. Relative luminance 0.265; OKLCH L 66.7% C 0.215 H 304.6°. Best body text is #000000 at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#B368FC
RGBrgb(179, 104, 252)
HSLhsl(270, 96%, 70%)
HSVhsv(270, 59%, 99%)
CMYKcmyk(29%, 58.7%, 0%, 1.2%)
CIE-LABlab(58.52, 56.91, -62.65)
CIE-LCHlch(58.52, 84.64, 312.25°)
OKLaboklab(66.67% 0.1221 -0.1771)
OKLCHoklch(66.67% 0.215 304.6)
XYZxyz(41.1075, 26.5128, 95.0284)
Luminance0.2651 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B368FC #B1FC68
analogous
#6968FC #B368FC #FC68FB
triadic
#B368FC #FCB368 #68FCB3
tetradic
#B368FC #FC6968 #B1FC68 #68FBFC
square
#B368FC #FC6968 #B1FC68 #68FBFC
split-complementary
#B368FC #FBFC68 #68FC69
monochromatic
#7605E5 #952CFB #B368FC #D1A4FD #EFE0FE

Accessibility & contrast

On white

3.33
#B368FC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.30
#B368FC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B368FC
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B368FC#FFFFFF#000000##000000
##B368FC1.003.336.306.30
#FFFFFF3.331.0021.0021.00
#0000006.3021.001.001.00
##0000006.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#218BFF
Deuteranopia (green-blind)
#478DF9
Tritanopia (blue-blind)
#A686A8
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #b368fc;
/* rgb */ color: rgb(179, 104, 252);
/* oklch */ color: oklch(66.7% 0.215 304.6);
Tailwind
colors: {
  custom: {
    50: '#ce96fe',
    500: '#b368fc',
    950: '#000000',
  },
}
SCSS
$custom: #b368fc;
$custom-light: #ce96fe;
$custom-dark: #000000;
JSON
{
  "hex": "#b368fc",
  "rgb": {
    "r": 179,
    "g": 104,
    "b": 252
  },
  "hsl": {
    "h": 270.405,
    "s": 96.104,
    "l": 69.804
  },
  "oklch": {
    "l": 0.66674,
    "c": 0.21507,
    "h": 304.6
  },
  "luminance": 0.26513
}

Semantic roles & 50–950 ramp

primary
#B368FC
secondary
#E0F5CB
accent
#E60071
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140E18
muted
#837E86

Preview Lab

Preview with #B368FC

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

Preview Lab → · Contrast checker → · Palette generator →

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