#B670EC#B670EC

#B670EC is a light, vivid violet. Relative luminance 0.276; OKLCH L 67.2% C 0.186 H 308.2°. Best body text is #000000 at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#B670EC
RGBrgb(182, 112, 236)
HSLhsl(274, 77%, 68%)
HSVhsv(274, 53%, 93%)
CMYKcmyk(22.9%, 52.5%, 0%, 7.5%)
CIE-LABlab(59.52, 49.89, -52.16)
CIE-LCHlch(59.52, 72.18, 313.72°)
OKLaboklab(67.19% 0.1154 -0.1463)
OKLCHoklch(67.19% 0.186 308.2)
XYZxyz(40.2229, 27.5901, 82.5471)
Luminance0.2759 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B670EC #A6EC70
analogous
#7870EC #B670EC #EC70E4
triadic
#B670EC #ECB670 #70ECB6
tetradic
#B670EC #EC7870 #A6EC70 #70E4EC
square
#B670EC #EC7870 #A6EC70 #70E4EC
split-complementary
#B670EC #E4EC70 #70EC78
monochromatic
#7C1AC7 #9A3AE5 #B670EC #D2A6F3 #EDDCFA

Accessibility & contrast

On white

3.22
#B670EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.52
#B670EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B670EC
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B670EC#FFFFFF#000000##000000
##B670EC1.003.226.526.52
#FFFFFF3.221.0021.0021.00
#0000006.5221.001.001.00
##0000006.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B8CF0
Deuteranopia (green-blind)
#6190E9
Tritanopia (blue-blind)
#AE86A4
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #b670ec;
/* rgb */ color: rgb(182, 112, 236);
/* oklch */ color: oklch(67.2% 0.186 308.2);
Tailwind
colors: {
  custom: {
    50: '#cf9bf3',
    500: '#b670ec',
    950: '#000000',
  },
}
SCSS
$custom: #b670ec;
$custom-light: #cf9bf3;
$custom-dark: #000000;
JSON
{
  "hex": "#b670ec",
  "rgb": {
    "r": 182,
    "g": 112,
    "b": 236
  },
  "hsl": {
    "h": 273.871,
    "s": 76.543,
    "l": 68.235
  },
  "oklch": {
    "l": 0.6719,
    "c": 0.18636,
    "h": 308.2
  },
  "luminance": 0.2759
}

Semantic roles & 50–950 ramp

primary
#B670EC
secondary
#D9EFC9
accent
#D90D66
background
#FDF9FE
surface
#FAF2FD
border
#D3CCD5
text
#140E17
muted
#837E85

Preview Lab

Preview with #B670EC

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

Preview Lab → · Contrast checker → · Palette generator →

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