#B790EA#B790EA

#B790EA is a light, vivid violet. Relative luminance 0.360; OKLCH L 72.4% C 0.133 H 303.2°. Best body text is #000000 at 8.19:1 contrast (WCAG AA passes).

Color values

HEX#B790EA
RGBrgb(183, 144, 234)
HSLhsl(266, 68%, 74%)
HSVhsv(266, 38%, 92%)
CMYKcmyk(21.8%, 38.5%, 0%, 8.2%)
CIE-LABlab(66.49, 32.27, -40.06)
CIE-LCHlch(66.49, 51.45, 308.85°)
OKLaboklab(72.4% 0.0728 -0.1113)
OKLCHoklch(72.4% 0.133 303.2)
XYZxyz(44.3498, 35.9544, 82.4294)
Luminance0.3595 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B790EA #C3EA90
analogous
#9096EA #B790EA #E490EA
triadic
#B790EA #EAB790 #90EAB7
tetradic
#B790EA #EA9096 #C3EA90 #90EAE4
square
#B790EA #EA9096 #C3EA90 #90EAE4
split-complementary
#B790EA #EAE490 #96EA90
monochromatic
#7429D7 #965DE0 #B790EA #D8C3F4 #EEE5FA

Accessibility & contrast

On white

2.56
#B790EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.19
#B790EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B790EA
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B790EA#FFFFFF#000000##000000
##B790EA1.002.568.198.19
#FFFFFF2.561.0021.0021.00
#0000008.1921.001.001.00
##0000008.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7BA1ED
Deuteranopia (green-blind)
#83A2E8
Tritanopia (blue-blind)
#AF9EB2
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #b790ea;
/* rgb */ color: rgb(183, 144, 234);
/* oklch */ color: oklch(72.4% 0.133 303.2);
Tailwind
colors: {
  custom: {
    50: '#ceb1f1',
    500: '#b790ea',
    950: '#000000',
  },
}
SCSS
$custom: #b790ea;
$custom-light: #ceb1f1;
$custom-dark: #000000;
JSON
{
  "hex": "#b790ea",
  "rgb": {
    "r": 183,
    "g": 144,
    "b": 234
  },
  "hsl": {
    "h": 266,
    "s": 68.182,
    "l": 74.118
  },
  "oklch": {
    "l": 0.72397,
    "c": 0.13299,
    "h": 303.2
  },
  "luminance": 0.35954
}

Semantic roles & 50–950 ramp

primary
#B790EA
secondary
#E7F2D9
accent
#D0157F
background
#FCFAFE
surface
#F9F5FD
border
#D2CFD5
text
#141016
muted
#827F84

Preview Lab

Preview with #B790EA

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

Preview Lab → · Contrast checker → · Palette generator →

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