#BE98FC#BE98FC

#BE98FC is a light, vivid violet. Relative luminance 0.404; OKLCH L 75.3% C 0.145 H 300.5°. Best body text is #000000 at 9.09:1 contrast (WCAG AA passes).

Color values

HEX#BE98FC
RGBrgb(190, 152, 252)
HSLhsl(263, 94%, 79%)
HSVhsv(263, 40%, 99%)
CMYKcmyk(24.6%, 39.7%, 0%, 1.2%)
CIE-LABlab(69.78, 33.98, -44.71)
CIE-LCHlch(69.78, 56.16, 307.24°)
OKLaboklab(75.3% 0.0734 -0.1246)
OKLCHoklch(75.3% 0.145 300.5)
XYZxyz(50.0302, 40.4317, 97.2449)
Luminance0.4043 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BE98FC #D6FC98
analogous
#98A4FC #BE98FC #F098FC
triadic
#BE98FC #FCBE98 #98FCBE
tetradic
#BE98FC #FC98A4 #D6FC98 #98FCF0
square
#BE98FC #FC98A4 #D6FC98 #98FCF0
split-complementary
#BE98FC #FCF098 #A4FC98
monochromatic
#7321F9 #985DFA #BE98FC #E4D3FE #ECE1FE

Accessibility & contrast

On white

2.31
#BE98FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.09
#BE98FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BE98FC
9.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BE98FC#FFFFFF#000000##000000
##BE98FC1.002.319.099.09
#FFFFFF2.311.0021.0021.00
#0000009.0921.001.001.00
##0000009.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7EAAFF
Deuteranopia (green-blind)
#86AAF9
Tritanopia (blue-blind)
#B3A9BE
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #be98fc;
/* rgb */ color: rgb(190, 152, 252);
/* oklch */ color: oklch(75.3% 0.145 300.5);
Tailwind
colors: {
  custom: {
    50: '#d3b6fe',
    500: '#be98fc',
    950: '#000000',
  },
}
SCSS
$custom: #be98fc;
$custom-light: #d3b6fe;
$custom-dark: #000000;
JSON
{
  "hex": "#be98fc",
  "rgb": {
    "r": 190,
    "g": 152,
    "b": 252
  },
  "hsl": {
    "h": 262.8,
    "s": 94.34,
    "l": 79.216
  },
  "oklch": {
    "l": 0.75304,
    "c": 0.1446,
    "h": 300.5
  },
  "luminance": 0.40432
}

Semantic roles & 50–950 ramp

primary
#BE98FC
secondary
#EAF6D5
accent
#E6008E
background
#FDFBFF
surface
#FAF6FF
border
#D3D0D7
text
#141118
muted
#838086

Preview Lab

Preview with #BE98FC

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

Preview Lab → · Contrast checker → · Palette generator →

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