#B670F6#B670F6

#B670F6 is a light, vivid violet. Relative luminance 0.282; OKLCH L 67.8% C 0.198 H 305.9°. Best body text is #000000 at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#B670F6
RGBrgb(182, 112, 246)
HSLhsl(271, 88%, 70%)
HSVhsv(271, 54%, 96%)
CMYKcmyk(26%, 54.5%, 0%, 3.5%)
CIE-LABlab(60.06, 52.14, -56.85)
CIE-LCHlch(60.06, 77.14, 312.53°)
OKLaboklab(67.76% 0.1159 -0.16)
OKLCHoklch(67.76% 0.198 305.9)
XYZxyz(41.7166, 28.1876, 90.4140)
Luminance0.2819 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B670F6 #B0F670
analogous
#7370F6 #B670F6 #F670F3
triadic
#B670F6 #F6B670 #70F6B6
tetradic
#B670F6 #F67370 #B0F670 #70F3F6
square
#B670F6 #F67370 #B0F670 #70F3F6
split-complementary
#B670F6 #F3F670 #70F673
monochromatic
#7A0EDE #9936F2 #B670F6 #D3AAFA #F0E2FD

Accessibility & contrast

On white

3.16
#B670F6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.64
#B670F6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B670F6
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B670F6#FFFFFF#000000##000000
##B670F61.003.166.646.64
#FFFFFF3.161.0021.0021.00
#0000006.6421.001.001.00
##0000006.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#418EFA
Deuteranopia (green-blind)
#5A91F3
Tritanopia (blue-blind)
#AC89A9
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #b670f6;
/* rgb */ color: rgb(182, 112, 246);
/* oklch */ color: oklch(67.8% 0.198 305.9);
Tailwind
colors: {
  custom: {
    50: '#cf9bfa',
    500: '#b670f6',
    950: '#000000',
  },
}
SCSS
$custom: #b670f6;
$custom-light: #cf9bfa;
$custom-dark: #000000;
JSON
{
  "hex": "#b670f6",
  "rgb": {
    "r": 182,
    "g": 112,
    "b": 246
  },
  "hsl": {
    "h": 271.343,
    "s": 88.158,
    "l": 70.196
  },
  "oklch": {
    "l": 0.67764,
    "c": 0.19761,
    "h": 305.9
  },
  "luminance": 0.28187
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B670F6

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

Preview Lab → · Contrast checker → · Palette generator →

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