#BE78EA#BE78EA

#BE78EA is a light, vivid violet. Relative luminance 0.303; OKLCH L 69.1% C 0.174 H 311.0°. Best body text is #000000 at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#BE78EA
RGBrgb(190, 120, 234)
HSLhsl(277, 73%, 69%)
HSVhsv(277, 49%, 92%)
CMYKcmyk(18.8%, 48.7%, 0%, 8.2%)
CIE-LABlab(61.93, 47.33, -47.17)
CIE-LCHlch(61.93, 66.83, 315.10°)
OKLaboklab(69.14% 0.1142 -0.1316)
OKLCHoklch(69.14% 0.174 311)
XYZxyz(42.8003, 30.3214, 81.4239)
Luminance0.3032 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BE78EA #A4EA78
analogous
#8578EA #BE78EA #EA78DD
triadic
#BE78EA #EABE78 #78EABE
tetradic
#BE78EA #EA8578 #A4EA78 #78DDEA
square
#BE78EA #EA8578 #A4EA78 #78DDEA
split-complementary
#BE78EA #DDEA78 #78EA85
monochromatic
#871FC8 #A543E2 #BE78EA #D8ADF2 #F1E2FA

Accessibility & contrast

On white

2.97
#BE78EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.06
#BE78EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BE78EA
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BE78EA#FFFFFF#000000##000000
##BE78EA1.002.977.067.06
#FFFFFF2.971.0021.0021.00
#0000007.0621.001.001.00
##0000007.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C92EE
Deuteranopia (green-blind)
#7097E7
Tritanopia (blue-blind)
#B98AA6
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #be78ea;
/* rgb */ color: rgb(190, 120, 234);
/* oklch */ color: oklch(69.1% 0.174 311.0);
Tailwind
colors: {
  custom: {
    50: '#d4a1f1',
    500: '#be78ea',
    950: '#000000',
  },
}
SCSS
$custom: #be78ea;
$custom-light: #d4a1f1;
$custom-dark: #000000;
JSON
{
  "hex": "#be78ea",
  "rgb": {
    "r": 190,
    "g": 120,
    "b": 234
  },
  "hsl": {
    "h": 276.842,
    "s": 73.077,
    "l": 69.412
  },
  "oklch": {
    "l": 0.69142,
    "c": 0.17428,
    "h": 311
  },
  "luminance": 0.30321
}

Semantic roles & 50–950 ramp

primary
#BE78EA
secondary
#DBEFCE
accent
#D5105C
background
#FDFAFE
surface
#FAF3FD
border
#D3CDD5
text
#140F17
muted
#837F85

Preview Lab

Preview with #BE78EA

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

Preview Lab → · Contrast checker → · Palette generator →

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