#BE7AFE#BE7AFE

#BE7AFE is a light, vivid violet. Relative luminance 0.320; OKLCH L 70.5% C 0.194 H 305.8°. Best body text is #000000 at 7.40:1 contrast (WCAG AA passes).

Color values

HEX#BE7AFE
RGBrgb(190, 122, 254)
HSLhsl(271, 99%, 74%)
HSVhsv(271, 52%, 100%)
CMYKcmyk(25.2%, 52%, 0%, 0.4%)
CIE-LABlab(63.36, 50.72, -55.94)
CIE-LCHlch(63.36, 75.51, 312.20°)
OKLaboklab(70.53% 0.1134 -0.1572)
OKLCHoklch(70.53% 0.194 305.8)
XYZxyz(46.0804, 32.0223, 97.5001)
Luminance0.3202 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BE7AFE #BAFE7A
analogous
#7C7AFE #BE7AFE #FE7AFC
triadic
#BE7AFE #FEBE7A #7AFEBE
tetradic
#BE7AFE #FE7C7A #BAFE7A #7AFCFE
square
#BE7AFE #FE7C7A #BAFE7A #7AFCFE
split-complementary
#BE7AFE #FCFE7A #7AFE7C
monochromatic
#8302FC #A03DFE #BE7AFE #DCB7FE #F0E1FF

Accessibility & contrast

On white

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

On black

7.40
#BE7AFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BE7AFE
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BE7AFE#FFFFFF#000000##000000
##BE7AFE1.002.847.407.40
#FFFFFF2.841.0021.0021.00
#0000007.4021.001.001.00
##0000007.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5097FF
Deuteranopia (green-blind)
#659AFB
Tritanopia (blue-blind)
#B492B1
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #be7afe;
/* rgb */ color: rgb(190, 122, 254);
/* oklch */ color: oklch(70.5% 0.194 305.8);
Tailwind
colors: {
  custom: {
    50: '#d4a2ff',
    500: '#be7afe',
    950: '#000000',
  },
}
SCSS
$custom: #be7afe;
$custom-light: #d4a2ff;
$custom-dark: #000000;
JSON
{
  "hex": "#be7afe",
  "rgb": {
    "r": 190,
    "g": 122,
    "b": 254
  },
  "hsl": {
    "h": 270.909,
    "s": 98.507,
    "l": 73.725
  },
  "oklch": {
    "l": 0.70534,
    "c": 0.19385,
    "h": 305.8
  },
  "luminance": 0.32022
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BE7AFE

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

Preview Lab → · Contrast checker → · Palette generator →

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