#BF7FE5#BF7FE5

#BF7FE5 is a light, vivid violet. Relative luminance 0.319; OKLCH L 70.1% C 0.158 H 311.8°. Best body text is #000000 at 7.38:1 contrast (WCAG AA passes).

Color values

HEX#BF7FE5
RGBrgb(191, 127, 229)
HSLhsl(278, 66%, 70%)
HSVhsv(278, 45%, 90%)
CMYKcmyk(16.6%, 44.5%, 0%, 10.2%)
CIE-LABlab(63.27, 42.79, -42.28)
CIE-LCHlch(63.27, 60.15, 315.35°)
OKLaboklab(70.09% 0.1051 -0.1174)
OKLCHoklch(70.09% 0.158 311.8)
XYZxyz(43.2156, 31.9131, 77.9968)
Luminance0.3191 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BF7FE5 #A5E57F
analogous
#8C7FE5 #BF7FE5 #E57FD8
triadic
#BF7FE5 #E5BF7F #7FE5BF
tetradic
#BF7FE5 #E58C7F #A5E57F #7FD8E5
square
#BF7FE5 #E58C7F #A5E57F #7FD8E5
split-complementary
#BF7FE5 #D8E57F #7FE58C
monochromatic
#8927C2 #A64CDB #BF7FE5 #D8B2EF #F2E5FA

Accessibility & contrast

On white

2.84
#BF7FE5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.38
#BF7FE5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BF7FE5
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BF7FE5#FFFFFF#000000##000000
##BF7FE51.002.847.387.38
#FFFFFF2.841.0021.0021.00
#0000007.3821.001.001.00
##0000007.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6996E9
Deuteranopia (green-blind)
#7A9BE2
Tritanopia (blue-blind)
#BB8EA7
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #bf7fe5;
/* rgb */ color: rgb(191, 127, 229);
/* oklch */ color: oklch(70.1% 0.158 311.8);
Tailwind
colors: {
  custom: {
    50: '#d4a5ed',
    500: '#bf7fe5',
    950: '#000000',
  },
}
SCSS
$custom: #bf7fe5;
$custom-light: #d4a5ed;
$custom-dark: #000000;
JSON
{
  "hex": "#bf7fe5",
  "rgb": {
    "r": 191,
    "g": 127,
    "b": 229
  },
  "hsl": {
    "h": 277.647,
    "s": 66.234,
    "l": 69.804
  },
  "oklch": {
    "l": 0.70088,
    "c": 0.15762,
    "h": 311.8
  },
  "luminance": 0.31912
}

Semantic roles & 50–950 ramp

primary
#BF7FE5
secondary
#DCEED1
accent
#CE175B
background
#FDFAFE
surface
#FAF4FD
border
#D3CED5
text
#140F16
muted
#837F84

Preview Lab

Preview with #BF7FE5

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

Preview Lab → · Contrast checker → · Palette generator →

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