#B470EC#B470EC

#B470EC is a light, vivid violet. Relative luminance 0.273; OKLCH L 67.0% C 0.186 H 307.4°. Best body text is #000000 at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#B470EC
RGBrgb(180, 112, 236)
HSLhsl(273, 77%, 68%)
HSVhsv(273, 53%, 93%)
CMYKcmyk(23.7%, 52.5%, 0%, 7.5%)
CIE-LABlab(59.30, 49.38, -52.53)
CIE-LCHlch(59.30, 72.09, 313.23°)
OKLaboklab(66.98% 0.1129 -0.1475)
OKLCHoklch(66.98% 0.186 307.4)
XYZxyz(39.7538, 27.3482, 82.5251)
Luminance0.2735 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B470EC #A8EC70
analogous
#7670EC #B470EC #EC70E6
triadic
#B470EC #ECB470 #70ECB4
tetradic
#B470EC #EC7670 #A8EC70 #70E6EC
square
#B470EC #EC7670 #A8EC70 #70E6EC
split-complementary
#B470EC #E6EC70 #70EC76
monochromatic
#791AC7 #983AE5 #B470EC #D0A6F3 #EDDCFA

Accessibility & contrast

On white

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

On black

6.47
#B470EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B470EC
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B470EC#FFFFFF#000000##000000
##B470EC1.003.256.476.47
#FFFFFF3.251.0021.0021.00
#0000006.4721.001.001.00
##0000006.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A8CF0
Deuteranopia (green-blind)
#608FE9
Tritanopia (blue-blind)
#AC86A4
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #b470ec;
/* rgb */ color: rgb(180, 112, 236);
/* oklch */ color: oklch(67.0% 0.186 307.4);
Tailwind
colors: {
  custom: {
    50: '#cd9bf3',
    500: '#b470ec',
    950: '#000000',
  },
}
SCSS
$custom: #b470ec;
$custom-light: #cd9bf3;
$custom-dark: #000000;
JSON
{
  "hex": "#b470ec",
  "rgb": {
    "r": 180,
    "g": 112,
    "b": 236
  },
  "hsl": {
    "h": 272.903,
    "s": 76.543,
    "l": 68.235
  },
  "oklch": {
    "l": 0.66977,
    "c": 0.18574,
    "h": 307.4
  },
  "luminance": 0.27348
}

Semantic roles & 50–950 ramp

primary
#B470EC
secondary
#DAEFC9
accent
#D90D69
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#140E17
muted
#827E85

Preview Lab

Preview with #B470EC

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

Preview Lab → · Contrast checker → · Palette generator →

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