#B783F9#B783F9

#B783F9 is a light, vivid violet. Relative luminance 0.331; OKLCH L 71.0% C 0.172 H 302.6°. Best body text is #000000 at 7.63:1 contrast (WCAG AA passes).

Color values

HEX#B783F9
RGBrgb(183, 131, 249)
HSLhsl(266, 91%, 75%)
HSVhsv(266, 47%, 98%)
CMYKcmyk(26.5%, 47.4%, 0%, 2.4%)
CIE-LABlab(64.27, 42.94, -51.79)
CIE-LCHlch(64.27, 67.28, 309.66°)
OKLaboklab(70.96% 0.0929 -0.1453)
OKLCHoklch(70.96% 0.172 302.6)
XYZxyz(44.7398, 33.1394, 93.6437)
Luminance0.3314 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B783F9 #C5F983
analogous
#838AF9 #B783F9 #F283F9
triadic
#B783F9 #F9B783 #83F9B7
tetradic
#B783F9 #F9838A #C5F983 #83F9F2
square
#B783F9 #F9838A #C5F983 #83F9F2
split-complementary
#B783F9 #F9F283 #8AF983
monochromatic
#730EF3 #9549F6 #B783F9 #D9BDFC #EEE2FE

Accessibility & contrast

On white

2.75
#B783F9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.63
#B783F9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B783F9
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B783F9#FFFFFF#000000##000000
##B783F91.002.757.637.63
#FFFFFF2.751.0021.0021.00
#0000007.6321.001.001.00
##0000007.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#609BFD
Deuteranopia (green-blind)
#6D9CF6
Tritanopia (blue-blind)
#AB98B2
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #b783f9;
/* rgb */ color: rgb(183, 131, 249);
/* oklch */ color: oklch(71.0% 0.172 302.6);
Tailwind
colors: {
  custom: {
    50: '#cfa8fc',
    500: '#b783f9',
    950: '#000000',
  },
}
SCSS
$custom: #b783f9;
$custom-light: #cfa8fc;
$custom-dark: #000000;
JSON
{
  "hex": "#b783f9",
  "rgb": {
    "r": 183,
    "g": 131,
    "b": 249
  },
  "hsl": {
    "h": 266.441,
    "s": 90.769,
    "l": 74.51
  },
  "oklch": {
    "l": 0.70964,
    "c": 0.17243,
    "h": 302.6
  },
  "luminance": 0.33139
}

Semantic roles & 50–950 ramp

primary
#B783F9
secondary
#E7F6D5
accent
#E60080
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#141017
muted
#837F85

Preview Lab

Preview with #B783F9

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

Preview Lab → · Contrast checker → · Palette generator →

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