#B790DB#B790DB

#B790DB is a light, moderate violet. Relative luminance 0.351; OKLCH L 71.7% C 0.114 H 307.6°. Best body text is #000000 at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#B790DB
RGBrgb(183, 144, 219)
HSLhsl(271, 51%, 71%)
HSVhsv(271, 34%, 86%)
CMYKcmyk(16.4%, 34.2%, 0%, 14.1%)
CIE-LABlab(65.85, 28.90, -32.77)
CIE-LCHlch(65.85, 43.69, 311.42°)
OKLaboklab(71.71% 0.0695 -0.0903)
OKLCHoklch(71.71% 0.114 307.6)
XYZxyz(42.2855, 35.1286, 71.5570)
Luminance0.3513 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B790DB #B4DB90
analogous
#9190DB #B790DB #DB90D9
triadic
#B790DB #DBB790 #90DBB7
tetradic
#B790DB #DB9190 #B4DB90 #90D9DB
square
#B790DB #DB9190 #B4DB90 #90D9DB
split-complementary
#B790DB #D9DB90 #90DB91
monochromatic
#7B3BB6 #9962CC #B790DB #D5BEEA #F0E8F8

Accessibility & contrast

On white

2.62
#B790DB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.03
#B790DB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B790DB
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B790DB#FFFFFF#000000##000000
##B790DB1.002.628.038.03
#FFFFFF2.621.0021.0021.00
#0000008.0321.001.001.00
##0000008.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#819EDE
Deuteranopia (green-blind)
#8AA0D9
Tritanopia (blue-blind)
#B29BAC
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #b790db;
/* rgb */ color: rgb(183, 144, 219);
/* oklch */ color: oklch(71.7% 0.114 307.6);
Tailwind
colors: {
  custom: {
    50: '#cdb1e6',
    500: '#b790db',
    950: '#000000',
  },
}
SCSS
$custom: #b790db;
$custom-light: #cdb1e6;
$custom-dark: #000000;
JSON
{
  "hex": "#b790db",
  "rgb": {
    "r": 183,
    "g": 144,
    "b": 219
  },
  "hsl": {
    "h": 271.2,
    "s": 51.02,
    "l": 71.176
  },
  "oklch": {
    "l": 0.71705,
    "c": 0.11397,
    "h": 307.6
  },
  "luminance": 0.35128
}

Semantic roles & 50–950 ramp

primary
#B790DB
secondary
#E3EDDA
accent
#BE2770
background
#FCFAFE
surface
#F9F5FC
border
#D2CFD5
text
#131016
muted
#827F84

Preview Lab

Preview with #B790DB

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

Preview Lab → · Contrast checker → · Palette generator →

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