#B470EB#B470EB

#B470EB is a light, vivid violet. Relative luminance 0.273; OKLCH L 66.9% C 0.185 H 307.7°. Best body text is #000000 at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#B470EB
RGBrgb(180, 112, 235)
HSLhsl(273, 75%, 68%)
HSVhsv(273, 52%, 92%)
CMYKcmyk(23.4%, 52.3%, 0%, 7.8%)
CIE-LABlab(59.24, 49.15, -52.06)
CIE-LCHlch(59.24, 71.59, 313.35°)
OKLaboklab(66.92% 0.1129 -0.1461)
OKLCHoklch(66.92% 0.185 307.7)
XYZxyz(39.6090, 27.2903, 81.7621)
Luminance0.2729 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B470EB #A7EB70
analogous
#7670EB #B470EB #EB70E4
triadic
#B470EB #EBB470 #70EBB4
tetradic
#B470EB #EB7670 #A7EB70 #70E4EB
square
#B470EB #EB7670 #A7EB70 #70E4EB
split-complementary
#B470EB #E4EB70 #70EB76
monochromatic
#791CC5 #983AE3 #B470EB #D0A6F3 #ECDBFA

Accessibility & contrast

On white

3.25
#B470EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.46
#B470EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B470EB
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B470EB#FFFFFF#000000##000000
##B470EB1.003.256.466.46
#FFFFFF3.251.0021.0021.00
#0000006.4621.001.001.00
##0000006.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B8CEF
Deuteranopia (green-blind)
#608FE8
Tritanopia (blue-blind)
#AC86A3
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #b470eb;
/* rgb */ color: rgb(180, 112, 235);
/* oklch */ color: oklch(66.9% 0.185 307.7);
Tailwind
colors: {
  custom: {
    50: '#cd9bf2',
    500: '#b470eb',
    950: '#000000',
  },
}
SCSS
$custom: #b470eb;
$custom-light: #cd9bf2;
$custom-dark: #000000;
JSON
{
  "hex": "#b470eb",
  "rgb": {
    "r": 180,
    "g": 112,
    "b": 235
  },
  "hsl": {
    "h": 273.171,
    "s": 75.46,
    "l": 68.039
  },
  "oklch": {
    "l": 0.6692,
    "c": 0.18461,
    "h": 307.7
  },
  "luminance": 0.2729
}

Semantic roles & 50–950 ramp

primary
#B470EB
secondary
#D9EEC9
accent
#D80E68
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#140E17
muted
#827E85

Preview Lab

Preview with #B470EB

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

Preview Lab → · Contrast checker → · Palette generator →

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