#B378FC#B378FC

#B378FC is a light, vivid violet. Relative luminance 0.300; OKLCH L 69.0% C 0.192 H 302.3°. Best body text is #000000 at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#B378FC
RGBrgb(179, 120, 252)
HSLhsl(267, 96%, 73%)
HSVhsv(267, 52%, 99%)
CMYKcmyk(29%, 52.4%, 0%, 1.2%)
CIE-LABlab(61.69, 48.58, -57.57)
CIE-LCHlch(61.69, 75.33, 310.16°)
OKLaboklab(69% 0.1025 -0.1622)
OKLCHoklch(69% 0.192 302.3)
XYZxyz(42.8736, 30.0449, 95.6171)
Luminance0.3004 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B378FC #C1FC78
analogous
#787FFC #B378FC #F578FC
triadic
#B378FC #FCB378 #78FCB3
tetradic
#B378FC #FC787F #C1FC78 #78FCF5
square
#B378FC #FC787F #C1FC78 #78FCF5
split-complementary
#B378FC #FCF578 #7FFC78
monochromatic
#7005F4 #913CFB #B378FC #D5B4FD #EEE1FE

Accessibility & contrast

On white

3.00
#B378FC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

7.01
#B378FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B378FC
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B378FC#FFFFFF#000000##000000
##B378FC1.003.007.017.01
#FFFFFF3.001.0021.0021.00
#0000007.0121.001.001.00
##0000007.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4994FF
Deuteranopia (green-blind)
#5B95F9
Tritanopia (blue-blind)
#A591AF
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #b378fc;
/* rgb */ color: rgb(179, 120, 252);
/* oklch */ color: oklch(69.0% 0.192 302.3);
Tailwind
colors: {
  custom: {
    50: '#cda1fe',
    500: '#b378fc',
    950: '#000000',
  },
}
SCSS
$custom: #b378fc;
$custom-light: #cda1fe;
$custom-dark: #000000;
JSON
{
  "hex": "#b378fc",
  "rgb": {
    "r": 179,
    "g": 120,
    "b": 252
  },
  "hsl": {
    "h": 266.818,
    "s": 95.652,
    "l": 72.941
  },
  "oklch": {
    "l": 0.69004,
    "c": 0.1919,
    "h": 302.3
  },
  "luminance": 0.30045
}

Semantic roles & 50–950 ramp

primary
#B378FC
secondary
#E7F7D4
accent
#E6007F
background
#FCFAFF
surface
#F9F3FF
border
#D2CDD7
text
#140F18
muted
#827F86

Preview Lab

Preview with #B378FC

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

Preview Lab → · Contrast checker → · Palette generator →

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