#B671F2#B671F2

#B671F2 is a light, vivid violet. Relative luminance 0.282; OKLCH L 67.7% C 0.192 H 306.7°. Best body text is #000000 at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#B671F2
RGBrgb(182, 113, 242)
HSLhsl(272, 83%, 70%)
HSVhsv(272, 53%, 95%)
CMYKcmyk(24.8%, 53.3%, 0%, 5.1%)
CIE-LABlab(60.04, 50.71, -54.67)
CIE-LCHlch(60.04, 74.57, 312.85°)
OKLaboklab(67.68% 0.1145 -0.1537)
OKLCHoklch(67.68% 0.192 306.7)
XYZxyz(41.2202, 28.1665, 87.2524)
Luminance0.2817 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B671F2 #ADF271
analogous
#7671F2 #B671F2 #F271EE
triadic
#B671F2 #F2B671 #71F2B6
tetradic
#B671F2 #F27671 #ADF271 #71EEF2
square
#B671F2 #F27671 #ADF271 #71EEF2
split-complementary
#B671F2 #EEF271 #71F276
monochromatic
#7B14D5 #9939ED #B671F2 #D3A9F7 #F0E1FC

Accessibility & contrast

On white

3.17
#B671F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.63
#B671F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B671F2
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B671F2#FFFFFF#000000##000000
##B671F21.003.176.636.63
#FFFFFF3.171.0021.0021.00
#0000006.6321.001.001.00
##0000006.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#478EF6
Deuteranopia (green-blind)
#5E91EF
Tritanopia (blue-blind)
#AD88A7
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #b671f2;
/* rgb */ color: rgb(182, 113, 242);
/* oklch */ color: oklch(67.7% 0.192 306.7);
Tailwind
colors: {
  custom: {
    50: '#cf9cf7',
    500: '#b671f2',
    950: '#000000',
  },
}
SCSS
$custom: #b671f2;
$custom-light: #cf9cf7;
$custom-dark: #000000;
JSON
{
  "hex": "#b671f2",
  "rgb": {
    "r": 182,
    "g": 113,
    "b": 242
  },
  "hsl": {
    "h": 272.093,
    "s": 83.226,
    "l": 69.608
  },
  "oklch": {
    "l": 0.67679,
    "c": 0.19161,
    "h": 306.7
  },
  "luminance": 0.28166
}

Semantic roles & 50–950 ramp

primary
#B671F2
secondary
#DEF2CD
accent
#E0066B
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140E17
muted
#837E85

Preview Lab

Preview with #B671F2

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

Preview Lab → · Contrast checker → · Palette generator →

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