#BE97F7#BE97F7

#BE97F7 is a light, vivid violet. Relative luminance 0.398; OKLCH L 74.9% C 0.140 H 301.8°. Best body text is #000000 at 8.96:1 contrast (WCAG AA passes).

Color values

HEX#BE97F7
RGBrgb(190, 151, 247)
HSLhsl(264, 86%, 78%)
HSVhsv(264, 39%, 97%)
CMYKcmyk(23.1%, 38.9%, 0%, 3.1%)
CIE-LABlab(69.32, 33.38, -42.70)
CIE-LCHlch(69.32, 54.20, 308.02°)
OKLaboklab(74.89% 0.0738 -0.1188)
OKLCHoklch(74.89% 0.14 301.8)
XYZxyz(49.0867, 39.7957, 93.0730)
Luminance0.3980 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BE97F7 #D0F797
analogous
#97A0F7 #BE97F7 #EE97F7
triadic
#BE97F7 #F7BE97 #97F7BE
tetradic
#BE97F7 #F797A0 #D0F797 #97F7EE
square
#BE97F7 #F797A0 #D0F797 #97F7EE
split-complementary
#BE97F7 #F7EE97 #A0F797
monochromatic
#7725EE #9A5EF3 #BE97F7 #E2D0FB #EDE3FD

Accessibility & contrast

On white

2.34
#BE97F7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.96
#BE97F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BE97F7
8.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BE97F7#FFFFFF#000000##000000
##BE97F71.002.348.968.96
#FFFFFF2.341.0021.0021.00
#0000008.9621.001.001.00
##0000008.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7FA9FB
Deuteranopia (green-blind)
#87A9F4
Tritanopia (blue-blind)
#B4A7BB
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #be97f7;
/* rgb */ color: rgb(190, 151, 247);
/* oklch */ color: oklch(74.9% 0.140 301.8);
Tailwind
colors: {
  custom: {
    50: '#d3b6fa',
    500: '#be97f7',
    950: '#000000',
  },
}
SCSS
$custom: #be97f7;
$custom-light: #d3b6fa;
$custom-dark: #000000;
JSON
{
  "hex": "#be97f7",
  "rgb": {
    "r": 190,
    "g": 151,
    "b": 247
  },
  "hsl": {
    "h": 264.375,
    "s": 85.714,
    "l": 78.039
  },
  "oklch": {
    "l": 0.74889,
    "c": 0.13983,
    "h": 301.8
  },
  "luminance": 0.39796
}

Semantic roles & 50–950 ramp

primary
#BE97F7
secondary
#E8F5D6
accent
#E20388
background
#FDFBFF
surface
#FAF6FF
border
#D3D0D7
text
#141117
muted
#838085

Preview Lab

Preview with #BE97F7

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

Preview Lab → · Contrast checker → · Palette generator →

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