#B670F8#B670F8

#B670F8 is a light, vivid violet. Relative luminance 0.283; OKLCH L 67.9% C 0.200 H 305.5°. Best body text is #000000 at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#B670F8
RGBrgb(182, 112, 248)
HSLhsl(271, 91%, 71%)
HSVhsv(271, 55%, 97%)
CMYKcmyk(26.6%, 54.8%, 0%, 2.7%)
CIE-LABlab(60.17, 52.60, -57.78)
CIE-LCHlch(60.17, 78.14, 312.31°)
OKLaboklab(67.88% 0.116 -0.1628)
OKLCHoklch(67.88% 0.2 305.5)
XYZxyz(42.0252, 28.3110, 92.0394)
Luminance0.2831 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B670F8 #B2F870
analogous
#7270F8 #B670F8 #F870F6
triadic
#B670F8 #F8B670 #70F8B6
tetradic
#B670F8 #F87270 #B2F870 #70F6F8
square
#B670F8 #F87270 #B2F870 #70F6F8
split-complementary
#B670F8 #F6F870 #70F872
monochromatic
#7A0BE3 #9836F5 #B670F8 #D4AAFB #F0E2FE

Accessibility & contrast

On white

3.15
#B670F8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.66
#B670F8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B670F8
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B670F8#FFFFFF#000000##000000
##B670F81.003.156.666.66
#FFFFFF3.151.0021.0021.00
#0000006.6621.001.001.00
##0000006.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F8FFD
Deuteranopia (green-blind)
#5891F5
Tritanopia (blue-blind)
#AB8AAA
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #b670f8;
/* rgb */ color: rgb(182, 112, 248);
/* oklch */ color: oklch(67.9% 0.200 305.5);
Tailwind
colors: {
  custom: {
    50: '#cf9bfb',
    500: '#b670f8',
    950: '#000000',
  },
}
SCSS
$custom: #b670f8;
$custom-light: #cf9bfb;
$custom-dark: #000000;
JSON
{
  "hex": "#b670f8",
  "rgb": {
    "r": 182,
    "g": 112,
    "b": 248
  },
  "hsl": {
    "h": 270.882,
    "s": 90.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.67881,
    "c": 0.19987,
    "h": 305.5
  },
  "luminance": 0.28311
}

Semantic roles & 50–950 ramp

primary
#B670F8
secondary
#E1F4CF
accent
#E6006F
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140E17
muted
#837E85

Preview Lab

Preview with #B670F8

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

Preview Lab → · Contrast checker → · Palette generator →

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