#B782DF#B782DF

#B782DF is a light, vivid violet. Relative luminance 0.314; OKLCH L 69.5% C 0.143 H 309.4°. Best body text is #000000 at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#B782DF
RGBrgb(183, 130, 223)
HSLhsl(274, 59%, 69%)
HSVhsv(274, 42%, 87%)
CMYKcmyk(17.9%, 41.7%, 0%, 12.5%)
CIE-LABlab(62.81, 37.56, -39.72)
CIE-LCHlch(62.81, 54.67, 313.40°)
OKLaboklab(69.46% 0.0904 -0.1103)
OKLCHoklch(69.46% 0.143 309.4)
XYZxyz(40.8279, 31.3608, 73.7001)
Luminance0.3136 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B782DF #AADF82
analogous
#8982DF #B782DF #DF82D8
triadic
#B782DF #DFB782 #82DFB7
tetradic
#B782DF #DF8982 #AADF82 #82D8DF
square
#B782DF #DF8982 #AADF82 #82D8DF
split-complementary
#B782DF #D8DF82 #82DF89
monochromatic
#7D2FB8 #9B51D3 #B782DF #D3B3EB #EFE3F8

Accessibility & contrast

On white

2.89
#B782DF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.27
#B782DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B782DF
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B782DF#FFFFFF#000000##000000
##B782DF1.002.897.277.27
#FFFFFF2.891.0021.0021.00
#0000007.2721.001.001.00
##0000007.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E96E2
Deuteranopia (green-blind)
#7B99DC
Tritanopia (blue-blind)
#B290A6
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #b782df;
/* rgb */ color: rgb(183, 130, 223);
/* oklch */ color: oklch(69.5% 0.143 309.4);
Tailwind
colors: {
  custom: {
    50: '#cea7e9',
    500: '#b782df',
    950: '#000000',
  },
}
SCSS
$custom: #b782df;
$custom-light: #cea7e9;
$custom-dark: #000000;
JSON
{
  "hex": "#b782df",
  "rgb": {
    "r": 183,
    "g": 130,
    "b": 223
  },
  "hsl": {
    "h": 274.194,
    "s": 59.236,
    "l": 69.216
  },
  "oklch": {
    "l": 0.69462,
    "c": 0.14259,
    "h": 309.4
  },
  "luminance": 0.3136
}

Semantic roles & 50–950 ramp

primary
#B782DF
secondary
#DDECD1
accent
#C71F67
background
#FCFAFE
surface
#F9F4FD
border
#D2CED5
text
#140F16
muted
#827F84

Preview Lab

Preview with #B782DF

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

Preview Lab → · Contrast checker → · Palette generator →

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