#B790EC#B790EC

#B790EC is a light, vivid violet. Relative luminance 0.361; OKLCH L 72.5% C 0.136 H 302.7°. Best body text is #000000 at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#B790EC
RGBrgb(183, 144, 236)
HSLhsl(265, 71%, 75%)
HSVhsv(265, 39%, 93%)
CMYKcmyk(22.5%, 39%, 0%, 7.5%)
CIE-LABlab(66.57, 32.73, -41.03)
CIE-LCHlch(66.57, 52.48, 308.58°)
OKLaboklab(72.49% 0.0732 -0.1141)
OKLCHoklch(72.49% 0.136 302.7)
XYZxyz(44.6388, 36.0699, 83.9511)
Luminance0.3607 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B790EC #C5EC90
analogous
#9097EC #B790EC #E590EC
triadic
#B790EC #ECB790 #90ECB7
tetradic
#B790EC #EC9097 #C5EC90 #90ECE5
square
#B790EC #EC9097 #C5EC90 #90ECE5
split-complementary
#B790EC #ECE590 #97EC90
monochromatic
#7327DA #955CE3 #B790EC #D9C4F5 #EEE5FB

Accessibility & contrast

On white

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

On black

8.21
#B790EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B790EC
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B790EC#FFFFFF#000000##000000
##B790EC1.002.568.218.21
#FFFFFF2.561.0021.0021.00
#0000008.2121.001.001.00
##0000008.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7AA1EF
Deuteranopia (green-blind)
#82A2EA
Tritanopia (blue-blind)
#AE9FB3
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #b790ec;
/* rgb */ color: rgb(183, 144, 236);
/* oklch */ color: oklch(72.5% 0.136 302.7);
Tailwind
colors: {
  custom: {
    50: '#ceb1f2',
    500: '#b790ec',
    950: '#000000',
  },
}
SCSS
$custom: #b790ec;
$custom-light: #ceb1f2;
$custom-dark: #000000;
JSON
{
  "hex": "#b790ec",
  "rgb": {
    "r": 183,
    "g": 144,
    "b": 236
  },
  "hsl": {
    "h": 265.435,
    "s": 70.769,
    "l": 74.51
  },
  "oklch": {
    "l": 0.72493,
    "c": 0.13554,
    "h": 302.7
  },
  "luminance": 0.3607
}

Semantic roles & 50–950 ramp

primary
#B790EC
secondary
#E7F2D9
accent
#D31381
background
#FCFAFE
surface
#F9F5FD
border
#D2CFD5
text
#141017
muted
#827F85

Preview Lab

Preview with #B790EC

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

Preview Lab → · Contrast checker → · Palette generator →

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