#B790FF#B790FF

#B790FF is a light, vivid violet. Relative luminance 0.372; OKLCH L 73.4% C 0.160 H 298.6°. Best body text is #000000 at 8.45:1 contrast (WCAG AA passes).

Color values

HEX#B790FF
RGBrgb(183, 144, 255)
HSLhsl(261, 100%, 78%)
HSVhsv(261, 44%, 100%)
CMYKcmyk(28.2%, 43.5%, 0%, 0%)
CIE-LABlab(67.45, 37.21, -50.05)
CIE-LCHlch(67.45, 62.37, 306.63°)
OKLaboklab(73.44% 0.0765 -0.1402)
OKLCHoklch(73.44% 0.16 298.6)
XYZxyz(47.5475, 37.2334, 99.2701)
Luminance0.3723 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B790FF #D8FF90
analogous
#90A0FF #B790FF #EE90FF
triadic
#B790FF #FFB790 #90FFB7
tetradic
#B790FF #FF90A0 #D8FF90 #90FFEE
square
#B790FF #FF90A0 #D8FF90 #90FFEE
split-complementary
#B790FF #FFEE90 #A0FF90
monochromatic
#6816FF #8F53FF #B790FF #DFCDFF #EBE0FF

Accessibility & contrast

On white

2.49
#B790FF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.45
#B790FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B790FF
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B790FF#FFFFFF#000000##000000
##B790FF1.002.498.458.45
#FFFFFF2.491.0021.0021.00
#0000008.4521.001.001.00
##0000008.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#70A4FF
Deuteranopia (green-blind)
#77A3FC
Tritanopia (blue-blind)
#A9A4BB
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #b790ff;
/* rgb */ color: rgb(183, 144, 255);
/* oklch */ color: oklch(73.4% 0.160 298.6);
Tailwind
colors: {
  custom: {
    50: '#cfb1ff',
    500: '#b790ff',
    950: '#000000',
  },
}
SCSS
$custom: #b790ff;
$custom-light: #cfb1ff;
$custom-dark: #000000;
JSON
{
  "hex": "#b790ff",
  "rgb": {
    "r": 183,
    "g": 144,
    "b": 255
  },
  "hsl": {
    "h": 261.081,
    "s": 100,
    "l": 78.235
  },
  "oklch": {
    "l": 0.73444,
    "c": 0.15973,
    "h": 298.6
  },
  "luminance": 0.37234
}

Semantic roles & 50–950 ramp

primary
#B790FF
secondary
#EBF7D4
accent
#E60095
background
#FCFAFF
surface
#F9F5FF
border
#D2CFD7
text
#141018
muted
#827F86

Preview Lab

Preview with #B790FF

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

Preview Lab → · Contrast checker → · Palette generator →

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