#B478F5#B478F5

#B478F5 is a light, vivid violet. Relative luminance 0.297; OKLCH L 68.7% C 0.184 H 304.1°. Best body text is #000000 at 6.95:1 contrast (WCAG AA passes).

Color values

HEX#B478F5
RGBrgb(180, 120, 245)
HSLhsl(269, 86%, 72%)
HSVhsv(269, 51%, 96%)
CMYKcmyk(26.5%, 51%, 0%, 3.9%)
CIE-LABlab(61.42, 47.18, -54.14)
CIE-LCHlch(61.42, 71.82, 311.07°)
OKLaboklab(68.7% 0.1032 -0.1522)
OKLCHoklch(68.7% 0.184 304.1)
XYZxyz(42.0167, 29.7290, 89.8932)
Luminance0.2973 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B478F5 #B9F578
analogous
#787BF5 #B478F5 #F378F5
triadic
#B478F5 #F5B478 #78F5B4
tetradic
#B478F5 #F5787B #B9F578 #78F5F3
square
#B478F5 #F5787B #B9F578 #78F5F3
split-complementary
#B478F5 #F5F378 #7BF578
monochromatic
#7511E2 #943FF1 #B478F5 #D4B1F9 #EFE3FD

Accessibility & contrast

On white

3.02
#B478F5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.95
#B478F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B478F5
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B478F5#FFFFFF#000000##000000
##B478F51.003.026.956.95
#FFFFFF3.021.0021.0021.00
#0000006.9521.001.001.00
##0000006.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5093F9
Deuteranopia (green-blind)
#6294F2
Tritanopia (blue-blind)
#A98FAB
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #b478f5;
/* rgb */ color: rgb(180, 120, 245);
/* oklch */ color: oklch(68.7% 0.184 304.1);
Tailwind
colors: {
  custom: {
    50: '#cda0f9',
    500: '#b478f5',
    950: '#000000',
  },
}
SCSS
$custom: #b478f5;
$custom-light: #cda0f9;
$custom-dark: #000000;
JSON
{
  "hex": "#b478f5",
  "rgb": {
    "r": 180,
    "g": 120,
    "b": 245
  },
  "hsl": {
    "h": 268.8,
    "s": 86.207,
    "l": 71.569
  },
  "oklch": {
    "l": 0.68704,
    "c": 0.1839,
    "h": 304.1
  },
  "luminance": 0.29729
}

Semantic roles & 50–950 ramp

primary
#B478F5
secondary
#E5F4D4
accent
#E30377
background
#FCFAFF
surface
#F9F3FF
border
#D2CDD7
text
#140F17
muted
#827F85

Preview Lab

Preview with #B478F5

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

Preview Lab → · Contrast checker → · Palette generator →

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