#A783FB#A783FB

#A783FB is a light, vivid violet. Relative luminance 0.314; OKLCH L 69.6% C 0.172 H 295.4°. Best body text is #000000 at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#A783FB
RGBrgb(167, 131, 251)
HSLhsl(258, 94%, 75%)
HSVhsv(258, 48%, 98%)
CMYKcmyk(33.5%, 47.8%, 0%, 1.6%)
CIE-LABlab(62.85, 39.31, -55.24)
CIE-LCHlch(62.85, 67.80, 305.44°)
OKLaboklab(69.58% 0.074 -0.1558)
OKLCHoklch(69.58% 0.172 295.4)
XYZxyz(41.4608, 31.4124, 95.1269)
Luminance0.3141 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A783FB #D7FB83
analogous
#839BFB #A783FB #E383FB
triadic
#A783FB #FBA783 #83FBA7
tetradic
#A783FB #FB839B #D7FB83 #83FBE3
square
#A783FB #FB839B #D7FB83 #83FBE3
split-complementary
#A783FB #FBE383 #9BFB83
monochromatic
#530CF7 #7D48F9 #A783FB #D1BEFD #EAE1FE

Accessibility & contrast

On white

2.88
#A783FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.28
#A783FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A783FB
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A783FB#FFFFFF#000000##000000
##A783FB1.002.887.287.28
#FFFFFF2.881.0021.0021.00
#0000007.2821.001.001.00
##0000007.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5999FF
Deuteranopia (green-blind)
#6096F8
Tritanopia (blue-blind)
#949AB3
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #a783fb;
/* rgb */ color: rgb(167, 131, 251);
/* oklch */ color: oklch(69.6% 0.172 295.4);
Tailwind
colors: {
  custom: {
    50: '#c4a7fd',
    500: '#a783fb',
    950: '#000000',
  },
}
SCSS
$custom: #a783fb;
$custom-light: #c4a7fd;
$custom-dark: #000000;
JSON
{
  "hex": "#a783fb",
  "rgb": {
    "r": 167,
    "g": 131,
    "b": 251
  },
  "hsl": {
    "h": 258,
    "s": 93.75,
    "l": 74.902
  },
  "oklch": {
    "l": 0.6958,
    "c": 0.17242,
    "h": 295.4
  },
  "luminance": 0.31413
}

Semantic roles & 50–950 ramp

primary
#A783FB
secondary
#ECF6D5
accent
#E600A1
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#130F18
muted
#827F86

Preview Lab

Preview with #A783FB

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

Preview Lab → · Contrast checker → · Palette generator →

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