#B670F2#B670F2

#B670F2 is a light, vivid violet. Relative luminance 0.279; OKLCH L 67.5% C 0.193 H 306.8°. Best body text is #000000 at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#B670F2
RGBrgb(182, 112, 242)
HSLhsl(272, 83%, 69%)
HSVhsv(272, 54%, 95%)
CMYKcmyk(24.8%, 53.7%, 0%, 5.1%)
CIE-LABlab(59.84, 51.24, -54.98)
CIE-LCHlch(59.84, 75.16, 312.98°)
OKLaboklab(67.53% 0.1157 -0.1546)
OKLCHoklch(67.53% 0.193 306.8)
XYZxyz(41.1093, 27.9446, 87.2154)
Luminance0.2794 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B670F2 #ACF270
analogous
#7570F2 #B670F2 #F270ED
triadic
#B670F2 #F2B670 #70F2B6
tetradic
#B670F2 #F27570 #ACF270 #70EDF2
square
#B670F2 #F27570 #ACF270 #70EDF2
split-complementary
#B670F2 #EDF270 #70F275
monochromatic
#7B13D4 #9938ED #B670F2 #D3A8F7 #EFE0FC

Accessibility & contrast

On white

3.19
#B670F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.59
#B670F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B670F2
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B670F2#FFFFFF#000000##000000
##B670F21.003.196.596.59
#FFFFFF3.191.0021.0021.00
#0000006.5921.001.001.00
##0000006.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#458EF6
Deuteranopia (green-blind)
#5D91EF
Tritanopia (blue-blind)
#AD88A7
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #b670f2;
/* rgb */ color: rgb(182, 112, 242);
/* oklch */ color: oklch(67.5% 0.193 306.8);
Tailwind
colors: {
  custom: {
    50: '#cf9bf7',
    500: '#b670f2',
    950: '#000000',
  },
}
SCSS
$custom: #b670f2;
$custom-light: #cf9bf7;
$custom-dark: #000000;
JSON
{
  "hex": "#b670f2",
  "rgb": {
    "r": 182,
    "g": 112,
    "b": 242
  },
  "hsl": {
    "h": 272.308,
    "s": 83.333,
    "l": 69.412
  },
  "oklch": {
    "l": 0.67531,
    "c": 0.19312,
    "h": 306.8
  },
  "luminance": 0.27944
}

Semantic roles & 50–950 ramp

primary
#B670F2
secondary
#DDF2CC
accent
#E0066A
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140E17
muted
#837E85

Preview Lab

Preview with #B670F2

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

Preview Lab → · Contrast checker → · Palette generator →

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