#B470EF#B470EF

#B470EF is a light, vivid violet. Relative luminance 0.275; OKLCH L 67.1% C 0.189 H 306.7°. Best body text is #000000 at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#B470EF
RGBrgb(180, 112, 239)
HSLhsl(272, 80%, 69%)
HSVhsv(272, 53%, 94%)
CMYKcmyk(24.7%, 53.1%, 0%, 6.3%)
CIE-LABlab(59.46, 50.05, -53.94)
CIE-LCHlch(59.46, 73.59, 312.86°)
OKLaboklab(67.15% 0.1131 -0.1516)
OKLCHoklch(67.15% 0.189 306.7)
XYZxyz(40.1933, 27.5240, 84.8399)
Luminance0.2752 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B470EF #ABEF70
analogous
#7570EF #B470EF #EF70EB
triadic
#B470EF #EFB470 #70EFB4
tetradic
#B470EF #EF7570 #ABEF70 #70EBEF
square
#B470EF #EF7570 #ABEF70 #70EBEF
split-complementary
#B470EF #EBEF70 #70EF75
monochromatic
#7917CE #9739E9 #B470EF #D1A7F5 #EEDEFB

Accessibility & contrast

On white

3.23
#B470EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.50
#B470EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B470EF
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B470EF#FFFFFF#000000##000000
##B470EF1.003.236.506.50
#FFFFFF3.231.0021.0021.00
#0000006.5021.001.001.00
##0000006.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#478DF3
Deuteranopia (green-blind)
#5D90EC
Tritanopia (blue-blind)
#AB87A5
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #b470ef;
/* rgb */ color: rgb(180, 112, 239);
/* oklch */ color: oklch(67.1% 0.189 306.7);
Tailwind
colors: {
  custom: {
    50: '#cd9bf5',
    500: '#b470ef',
    950: '#000000',
  },
}
SCSS
$custom: #b470ef;
$custom-light: #cd9bf5;
$custom-dark: #000000;
JSON
{
  "hex": "#b470ef",
  "rgb": {
    "r": 180,
    "g": 112,
    "b": 239
  },
  "hsl": {
    "h": 272.126,
    "s": 79.874,
    "l": 68.824
  },
  "oklch": {
    "l": 0.67148,
    "c": 0.18914,
    "h": 306.7
  },
  "luminance": 0.27524
}

Semantic roles & 50–950 ramp

primary
#B470EF
secondary
#DCF0CB
accent
#DC096B
background
#FCF9FF
surface
#F9F2FE
border
#D2CCD6
text
#140E17
muted
#827E85

Preview Lab

Preview with #B470EF

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

Preview Lab → · Contrast checker → · Palette generator →

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