#B790FA#B790FA

#B790FA is a light, vivid violet. Relative luminance 0.369; OKLCH L 73.2% C 0.153 H 299.6°. Best body text is #000000 at 8.38:1 contrast (WCAG AA passes).

Color values

HEX#B790FA
RGBrgb(183, 144, 250)
HSLhsl(262, 91%, 77%)
HSVhsv(262, 42%, 98%)
CMYKcmyk(26.8%, 42.4%, 0%, 2%)
CIE-LABlab(67.21, 36.01, -47.70)
CIE-LCHlch(67.21, 59.77, 307.06°)
OKLaboklab(73.19% 0.0757 -0.1334)
OKLCHoklch(73.19% 0.153 299.6)
XYZxyz(46.7530, 36.9157, 95.0863)
Luminance0.3692 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B790FA #D3FA90
analogous
#909EFA #B790FA #EC90FA
triadic
#B790FA #FAB790 #90FAB7
tetradic
#B790FA #FA909E #D3FA90 #90FAEC
square
#B790FA #FA909E #D3FA90 #90FAEC
split-complementary
#B790FA #FAEC90 #9EFA90
monochromatic
#6B1BF5 #9155F7 #B790FA #DDCBFD #ECE2FE

Accessibility & contrast

On white

2.51
#B790FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.38
#B790FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B790FA
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B790FA#FFFFFF#000000##000000
##B790FA1.002.518.388.38
#FFFFFF2.511.0021.0021.00
#0000008.3821.001.001.00
##0000008.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#72A3FE
Deuteranopia (green-blind)
#7AA3F7
Tritanopia (blue-blind)
#AAA2B9
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #b790fa;
/* rgb */ color: rgb(183, 144, 250);
/* oklch */ color: oklch(73.2% 0.153 299.6);
Tailwind
colors: {
  custom: {
    50: '#cfb1fc',
    500: '#b790fa',
    950: '#000000',
  },
}
SCSS
$custom: #b790fa;
$custom-light: #cfb1fc;
$custom-dark: #000000;
JSON
{
  "hex": "#b790fa",
  "rgb": {
    "r": 183,
    "g": 144,
    "b": 250
  },
  "hsl": {
    "h": 262.075,
    "s": 91.379,
    "l": 77.255
  },
  "oklch": {
    "l": 0.73187,
    "c": 0.15337,
    "h": 299.6
  },
  "luminance": 0.36916
}

Semantic roles & 50–950 ramp

primary
#B790FA
secondary
#EAF6D5
accent
#E60091
background
#FCFAFF
surface
#F9F5FF
border
#D2CFD7
text
#141017
muted
#827F85

Preview Lab

Preview with #B790FA

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

Preview Lab → · Contrast checker → · Palette generator →

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