#BE97F2#BE97F2

#BE97F2 is a light, vivid violet. Relative luminance 0.395; OKLCH L 74.7% C 0.133 H 303.0°. Best body text is #000000 at 8.90:1 contrast (WCAG AA passes).

Color values

HEX#BE97F2
RGBrgb(190, 151, 242)
HSLhsl(266, 78%, 77%)
HSVhsv(266, 38%, 95%)
CMYKcmyk(21.5%, 37.6%, 0%, 5.1%)
CIE-LABlab(69.11, 32.24, -40.31)
CIE-LCHlch(69.11, 51.61, 308.65°)
OKLaboklab(74.65% 0.0728 -0.1119)
OKLCHoklch(74.65% 0.133 303)
XYZxyz(48.3254, 39.4912, 89.0639)
Luminance0.3949 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BE97F2 #CBF297
analogous
#979EF2 #BE97F2 #EB97F2
triadic
#BE97F2 #F2BE97 #97F2BE
tetradic
#BE97F2 #F2979E #CBF297 #97F2EB
square
#BE97F2 #F2979E #CBF297 #97F2EB
split-complementary
#BE97F2 #F2EB97 #9EF297
monochromatic
#7A2AE4 #9C61EB #BE97F2 #E0CDF9 #EEE4FC

Accessibility & contrast

On white

2.36
#BE97F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.90
#BE97F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BE97F2
8.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BE97F2#FFFFFF#000000##000000
##BE97F21.002.368.908.90
#FFFFFF2.361.0021.0021.00
#0000008.9021.001.001.00
##0000008.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#82A8F5
Deuteranopia (green-blind)
#8AA9F0
Tritanopia (blue-blind)
#B5A5B9
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #be97f2;
/* rgb */ color: rgb(190, 151, 242);
/* oklch */ color: oklch(74.7% 0.133 303.0);
Tailwind
colors: {
  custom: {
    50: '#d3b6f6',
    500: '#be97f2',
    950: '#000000',
  },
}
SCSS
$custom: #be97f2;
$custom-light: #d3b6f6;
$custom-dark: #000000;
JSON
{
  "hex": "#be97f2",
  "rgb": {
    "r": 190,
    "g": 151,
    "b": 242
  },
  "hsl": {
    "h": 265.714,
    "s": 77.778,
    "l": 77.059
  },
  "oklch": {
    "l": 0.74652,
    "c": 0.13348,
    "h": 303
  },
  "luminance": 0.39491
}

Semantic roles & 50–950 ramp

primary
#BE97F2
secondary
#E7F3D8
accent
#DA0B82
background
#FDFBFF
surface
#FAF6FE
border
#D3D0D6
text
#141117
muted
#838085

Preview Lab

Preview with #BE97F2

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

Preview Lab → · Contrast checker → · Palette generator →

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