#BE97FE#BE97FE

#BE97FE is a light, vivid violet. Relative luminance 0.402; OKLCH L 75.2% C 0.149 H 300.3°. Best body text is #000000 at 9.05:1 contrast (WCAG AA passes).

Color values

HEX#BE97FE
RGBrgb(190, 151, 254)
HSLhsl(263, 98%, 79%)
HSVhsv(263, 41%, 100%)
CMYKcmyk(25.2%, 40.6%, 0%, 0.4%)
CIE-LABlab(69.64, 35.00, -46.02)
CIE-LCHlch(69.64, 57.82, 307.26°)
OKLaboklab(75.23% 0.0751 -0.1284)
OKLCHoklch(75.23% 0.149 300.3)
XYZxyz(50.1872, 40.2359, 98.8690)
Luminance0.4024 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BE97FE #D7FE97
analogous
#97A4FE #BE97FE #F197FE
triadic
#BE97FE #FEBE97 #97FEBE
tetradic
#BE97FE #FE97A4 #D7FE97 #97FEF1
square
#BE97FE #FE97A4 #D7FE97 #97FEF1
split-complementary
#BE97FE #FEF197 #A4FE97
monochromatic
#721EFD #985AFD #BE97FE #E4D4FF #ECE1FF

Accessibility & contrast

On white

2.32
#BE97FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.05
#BE97FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BE97FE
9.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BE97FE#FFFFFF#000000##000000
##BE97FE1.002.329.059.05
#FFFFFF2.321.0021.0021.00
#0000009.0521.001.001.00
##0000009.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7CAAFF
Deuteranopia (green-blind)
#84A9FB
Tritanopia (blue-blind)
#B2A8BE
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #be97fe;
/* rgb */ color: rgb(190, 151, 254);
/* oklch */ color: oklch(75.2% 0.149 300.3);
Tailwind
colors: {
  custom: {
    50: '#d3b6ff',
    500: '#be97fe',
    950: '#000000',
  },
}
SCSS
$custom: #be97fe;
$custom-light: #d3b6ff;
$custom-dark: #000000;
JSON
{
  "hex": "#be97fe",
  "rgb": {
    "r": 190,
    "g": 151,
    "b": 254
  },
  "hsl": {
    "h": 262.718,
    "s": 98.095,
    "l": 79.412
  },
  "oklch": {
    "l": 0.75229,
    "c": 0.14873,
    "h": 300.3
  },
  "luminance": 0.40236
}

Semantic roles & 50–950 ramp

primary
#BE97FE
secondary
#EAF7D4
accent
#E6008F
background
#FDFBFF
surface
#FAF6FF
border
#D3D0D7
text
#141118
muted
#838086

Preview Lab

Preview with #BE97FE

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

Preview Lab → · Contrast checker → · Palette generator →

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