#A783FC#A783FC

#A783FC is a light, vivid violet. Relative luminance 0.315; OKLCH L 69.6% C 0.174 H 295.2°. Best body text is #000000 at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#A783FC
RGBrgb(167, 131, 252)
HSLhsl(258, 95%, 75%)
HSVhsv(258, 48%, 99%)
CMYKcmyk(33.7%, 48%, 0%, 1.2%)
CIE-LABlab(62.91, 39.57, -55.70)
CIE-LCHlch(62.91, 68.33, 305.39°)
OKLaboklab(69.64% 0.0741 -0.1571)
OKLCHoklch(69.64% 0.174 295.2)
XYZxyz(41.6189, 31.4757, 95.9593)
Luminance0.3148 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A783FC #D8FC83
analogous
#839CFC #A783FC #E383FC
triadic
#A783FC #FCA783 #83FCA7
tetradic
#A783FC #FC839C #D8FC83 #83FCE3
square
#A783FC #FC839C #D8FC83 #83FCE3
split-complementary
#A783FC #FCE383 #9CFC83
monochromatic
#520BF9 #7D47FB #A783FC #D1BFFD #EAE1FE

Accessibility & contrast

On white

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

On black

7.30
#A783FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A783FC
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A783FC#FFFFFF#000000##000000
##A783FC1.002.887.307.30
#FFFFFF2.881.0021.0021.00
#0000007.3021.001.001.00
##0000007.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5899FF
Deuteranopia (green-blind)
#5F96F9
Tritanopia (blue-blind)
#939AB4
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #a783fc;
/* rgb */ color: rgb(167, 131, 252);
/* oklch */ color: oklch(69.6% 0.174 295.2);
Tailwind
colors: {
  custom: {
    50: '#c4a7fe',
    500: '#a783fc',
    950: '#000000',
  },
}
SCSS
$custom: #a783fc;
$custom-light: #c4a7fe;
$custom-dark: #000000;
JSON
{
  "hex": "#a783fc",
  "rgb": {
    "r": 167,
    "g": 131,
    "b": 252
  },
  "hsl": {
    "h": 257.851,
    "s": 95.276,
    "l": 75.098
  },
  "oklch": {
    "l": 0.69637,
    "c": 0.1737,
    "h": 295.2
  },
  "luminance": 0.31476
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A783FC

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

Preview Lab → · Contrast checker → · Palette generator →

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