#BE7AFC#BE7AFC

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

Color values

HEX#BE7AFC
RGBrgb(190, 122, 252)
HSLhsl(271, 96%, 73%)
HSVhsv(271, 52%, 99%)
CMYKcmyk(24.6%, 51.6%, 0%, 1.2%)
CIE-LABlab(63.26, 50.26, -55.01)
CIE-LCHlch(63.26, 74.52, 312.42°)
OKLaboklab(70.42% 0.1133 -0.1545)
OKLCHoklch(70.42% 0.192 306.3)
XYZxyz(45.7618, 31.8949, 95.8221)
Luminance0.3189 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BE7AFC #B8FC7A
analogous
#7D7AFC #BE7AFC #FC7AF9
triadic
#BE7AFC #FCBE7A #7AFCBE
tetradic
#BE7AFC #FC7D7A #B8FC7A #7AF9FC
square
#BE7AFC #FC7D7A #B8FC7A #7AF9FC
split-complementary
#BE7AFC #F9FC7A #7AFC7D
monochromatic
#8306F6 #A13EFB #BE7AFC #DBB6FD #F0E1FE

Accessibility & contrast

On white

2.85
#BE7AFC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##BE7AFC#FFFFFF#000000##000000
##BE7AFC1.002.857.387.38
#FFFFFF2.851.0021.0021.00
#0000007.3821.001.001.00
##0000007.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5297FF
Deuteranopia (green-blind)
#679AF9
Tritanopia (blue-blind)
#B491B0
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #be7afc;
/* rgb */ color: rgb(190, 122, 252);
/* oklch */ color: oklch(70.4% 0.192 306.3);
Tailwind
colors: {
  custom: {
    50: '#d4a2fe',
    500: '#be7afc',
    950: '#000000',
  },
}
SCSS
$custom: #be7afc;
$custom-light: #d4a2fe;
$custom-dark: #000000;
JSON
{
  "hex": "#be7afc",
  "rgb": {
    "r": 190,
    "g": 122,
    "b": 252
  },
  "hsl": {
    "h": 271.385,
    "s": 95.588,
    "l": 73.333
  },
  "oklch": {
    "l": 0.70422,
    "c": 0.19156,
    "h": 306.3
  },
  "luminance": 0.31894
}

Semantic roles & 50–950 ramp

primary
#BE7AFC
secondary
#E5F7D4
accent
#E6006D
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#150F18
muted
#837F86

Preview Lab

Preview with #BE7AFC

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

Preview Lab → · Contrast checker → · Palette generator →

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