#BF0CE2#BF0CE2

#BF0CE2 is a mid, highly saturated purple. Relative luminance 0.168; OKLCH L 59.0% C 0.280 H 319.3°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#BF0CE2
RGBrgb(191, 12, 226)
HSLhsl(290, 90%, 47%)
HSVhsv(290, 95%, 89%)
CMYKcmyk(15.5%, 94.7%, 0%, 11.4%)
CIE-LABlab(48.05, 83.48, -64.88)
CIE-LCHlch(48.05, 105.73, 322.15°)
OKLaboklab(59.02% 0.2122 -0.1828)
OKLCHoklch(59.02% 0.28 319.3)
XYZxyz(35.3430, 16.8322, 73.3241)
Luminance0.1683 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BF0CE2 #2FE20C
analogous
#540CE2 #BF0CE2 #E20C9A
triadic
#BF0CE2 #E2BF0C #0CE2BF
tetradic
#BF0CE2 #E2540C #2FE20C #0C9AE2
square
#BF0CE2 #E2540C #2FE20C #0C9AE2
split-complementary
#BF0CE2 #9AE20C #0CE254
monochromatic
#5D066E #8E09A8 #BF0CE2 #D537F4 #E171F7

Accessibility & contrast

On white

4.81
#BF0CE2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#BF0CE2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BF0CE2
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BF0CE2#FFFFFF#000000##FFFFFF
##BF0CE21.004.814.374.81
#FFFFFF4.811.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068E7
Deuteranopia (green-blind)
#2877DE
Tritanopia (blue-blind)
#BE4D85
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #bf0ce2;
/* rgb */ color: rgb(191, 12, 226);
/* oklch */ color: oklch(59.0% 0.280 319.3);
Tailwind
colors: {
  custom: {
    50: '#d871ec',
    500: '#bf0ce2',
    950: '#000000',
  },
}
SCSS
$custom: #bf0ce2;
$custom-light: #d871ec;
$custom-dark: #000000;
JSON
{
  "hex": "#bf0ce2",
  "rgb": {
    "r": 191,
    "g": 12,
    "b": 226
  },
  "hsl": {
    "h": 290.187,
    "s": 89.916,
    "l": 46.667
  },
  "oklch": {
    "l": 0.5902,
    "c": 0.28008,
    "h": 319.3
  },
  "luminance": 0.1683
}

Semantic roles & 50–950 ramp

primary
#BF0CE2
secondary
#7FDE6C
accent
#FF294C
background
#FDF7FE
surface
#FBEEFD
border
#D4C9D5
text
#150916
muted
#837B84

Preview Lab

Preview with #BF0CE2

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

Preview Lab → · Contrast checker → · Palette generator →

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