#B470F5#B470F5

#B470F5 is a light, vivid violet. Relative luminance 0.279; OKLCH L 67.5% C 0.196 H 305.4°. Best body text is #000000 at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#B470F5
RGBrgb(180, 112, 245)
HSLhsl(271, 87%, 70%)
HSVhsv(271, 54%, 96%)
CMYKcmyk(26.5%, 54.3%, 0%, 3.9%)
CIE-LABlab(59.78, 51.42, -56.75)
CIE-LCHlch(59.78, 76.58, 312.18°)
OKLaboklab(67.5% 0.1134 -0.1598)
OKLCHoklch(67.5% 0.196 305.4)
XYZxyz(41.0945, 27.8845, 89.5858)
Luminance0.2788 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B470F5 #B1F570
analogous
#7270F5 #B470F5 #F570F3
triadic
#B470F5 #F5B470 #70F5B4
tetradic
#B470F5 #F57270 #B1F570 #70F3F5
square
#B470F5 #F57270 #B1F570 #70F3F5
split-complementary
#B470F5 #F3F570 #70F572
monochromatic
#780FDB #9637F1 #B470F5 #D2A9F9 #F0E2FD

Accessibility & contrast

On white

3.19
#B470F5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.58
#B470F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B470F5
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B470F5#FFFFFF#000000##000000
##B470F51.003.196.586.58
#FFFFFF3.191.0021.0021.00
#0000006.5821.001.001.00
##0000006.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#418EF9
Deuteranopia (green-blind)
#5990F2
Tritanopia (blue-blind)
#A989A8
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #b470f5;
/* rgb */ color: rgb(180, 112, 245);
/* oklch */ color: oklch(67.5% 0.196 305.4);
Tailwind
colors: {
  custom: {
    50: '#ce9bf9',
    500: '#b470f5',
    950: '#000000',
  },
}
SCSS
$custom: #b470f5;
$custom-light: #ce9bf9;
$custom-dark: #000000;
JSON
{
  "hex": "#b470f5",
  "rgb": {
    "r": 180,
    "g": 112,
    "b": 245
  },
  "hsl": {
    "h": 270.677,
    "s": 86.928,
    "l": 70
  },
  "oklch": {
    "l": 0.67495,
    "c": 0.19597,
    "h": 305.4
  },
  "luminance": 0.27884
}

Semantic roles & 50–950 ramp

primary
#B470F5
secondary
#E0F3CE
accent
#E30270
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140E17
muted
#837E85

Preview Lab

Preview with #B470F5

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

Preview Lab → · Contrast checker → · Palette generator →

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