#BE7AF2#BE7AF2

#BE7AF2 is a light, vivid violet. Relative luminance 0.313; OKLCH L 69.9% C 0.180 H 308.6°. Best body text is #000000 at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#BE7AF2
RGBrgb(190, 122, 242)
HSLhsl(274, 82%, 71%)
HSVhsv(274, 50%, 95%)
CMYKcmyk(21.5%, 49.6%, 0%, 5.1%)
CIE-LABlab(62.74, 48.03, -50.32)
CIE-LCHlch(62.74, 69.56, 313.66°)
OKLaboklab(69.87% 0.1124 -0.1408)
OKLCHoklch(69.87% 0.18 308.6)
XYZxyz(44.2186, 31.2776, 87.6949)
Luminance0.3128 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BE7AF2 #AEF27A
analogous
#827AF2 #BE7AF2 #F27AEA
triadic
#BE7AF2 #F2BE7A #7AF2BE
tetradic
#BE7AF2 #F2827A #AEF27A #7AEAF2
square
#BE7AF2 #F2827A #AEF27A #7AEAF2
split-complementary
#BE7AF2 #EAF27A #7AF282
monochromatic
#8616DC #A342ED #BE7AF2 #D9B2F7 #F1E3FC

Accessibility & contrast

On white

2.89
#BE7AF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.26
#BE7AF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BE7AF2
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BE7AF2#FFFFFF#000000##000000
##BE7AF21.002.897.267.26
#FFFFFF2.891.0021.0021.00
#0000007.2621.001.001.00
##0000007.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A95F6
Deuteranopia (green-blind)
#6D99EF
Tritanopia (blue-blind)
#B78EAB
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #be7af2;
/* rgb */ color: rgb(190, 122, 242);
/* oklch */ color: oklch(69.9% 0.180 308.6);
Tailwind
colors: {
  custom: {
    50: '#d4a2f7',
    500: '#be7af2',
    950: '#000000',
  },
}
SCSS
$custom: #be7af2;
$custom-light: #d4a2f7;
$custom-dark: #000000;
JSON
{
  "hex": "#be7af2",
  "rgb": {
    "r": 190,
    "g": 122,
    "b": 242
  },
  "hsl": {
    "h": 274,
    "s": 82.192,
    "l": 71.373
  },
  "oklch": {
    "l": 0.69874,
    "c": 0.18017,
    "h": 308.6
  },
  "luminance": 0.31277
}

Semantic roles & 50–950 ramp

primary
#BE7AF2
secondary
#E2F3D4
accent
#DF0764
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#140F17
muted
#837F85

Preview Lab

Preview with #BE7AF2

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

Preview Lab → · Contrast checker → · Palette generator →

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