#B478F3#B478F3

#B478F3 is a light, vivid violet. Relative luminance 0.296; OKLCH L 68.6% C 0.182 H 304.6°. Best body text is #000000 at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#B478F3
RGBrgb(180, 120, 243)
HSLhsl(269, 84%, 71%)
HSVhsv(269, 51%, 95%)
CMYKcmyk(25.9%, 50.6%, 0%, 4.7%)
CIE-LABlab(61.31, 46.72, -53.20)
CIE-LCHlch(61.31, 70.80, 311.29°)
OKLaboklab(68.59% 0.1031 -0.1495)
OKLCHoklch(68.59% 0.182 304.6)
XYZxyz(41.7130, 29.6075, 88.2939)
Luminance0.2961 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B478F3 #B7F378
analogous
#7879F3 #B478F3 #F178F3
triadic
#B478F3 #F3B478 #78F3B4
tetradic
#B478F3 #F37879 #B7F378 #78F3F1
square
#B478F3 #F37879 #B7F378 #78F3F1
split-complementary
#B478F3 #F3F178 #79F378
monochromatic
#7614DD #9540EE #B478F3 #D3B0F8 #EFE3FD

Accessibility & contrast

On white

3.03
#B478F3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.92
#B478F3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B478F3
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B478F3#FFFFFF#000000##000000
##B478F31.003.036.926.92
#FFFFFF3.031.0021.0021.00
#0000006.9221.001.001.00
##0000006.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5292F7
Deuteranopia (green-blind)
#6394F0
Tritanopia (blue-blind)
#A98EAA
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #b478f3;
/* rgb */ color: rgb(180, 120, 243);
/* oklch */ color: oklch(68.6% 0.182 304.6);
Tailwind
colors: {
  custom: {
    50: '#cda0f7',
    500: '#b478f3',
    950: '#000000',
  },
}
SCSS
$custom: #b478f3;
$custom-light: #cda0f7;
$custom-dark: #000000;
JSON
{
  "hex": "#b478f3",
  "rgb": {
    "r": 180,
    "g": 120,
    "b": 243
  },
  "hsl": {
    "h": 269.268,
    "s": 83.673,
    "l": 71.176
  },
  "oklch": {
    "l": 0.68591,
    "c": 0.18155,
    "h": 304.6
  },
  "luminance": 0.29607
}

Semantic roles & 50–950 ramp

primary
#B478F3
secondary
#E4F4D3
accent
#E00575
background
#FCFAFF
surface
#F9F3FF
border
#D2CDD7
text
#140F17
muted
#827F85

Preview Lab

Preview with #B478F3

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

Preview Lab → · Contrast checker → · Palette generator →

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