#A783F7#A783F7

#A783F7 is a light, vivid violet. Relative luminance 0.312; OKLCH L 69.4% C 0.167 H 296.1°. Best body text is #000000 at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#A783F7
RGBrgb(167, 131, 247)
HSLhsl(259, 88%, 74%)
HSVhsv(259, 47%, 97%)
CMYKcmyk(32.4%, 47%, 0%, 3.1%)
CIE-LABlab(62.64, 38.30, -53.37)
CIE-LCHlch(62.64, 65.70, 305.66°)
OKLaboklab(69.36% 0.0735 -0.1503)
OKLCHoklch(69.36% 0.167 296.1)
XYZxyz(40.8370, 31.1629, 91.8412)
Luminance0.3116 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A783F7 #D3F783
analogous
#8399F7 #A783F7 #E183F7
triadic
#A783F7 #F7A783 #83F7A7
tetradic
#A783F7 #F78399 #D3F783 #83F7E1
square
#A783F7 #F78399 #D3F783 #83F7E1
split-complementary
#A783F7 #F7E183 #99F783
monochromatic
#5510F0 #7E4AF3 #A783F7 #D0BCFB #EBE2FD

Accessibility & contrast

On white

2.90
#A783F7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.23
#A783F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A783F7
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A783F7#FFFFFF#000000##000000
##A783F71.002.907.237.23
#FFFFFF2.901.0021.0021.00
#0000007.2321.001.001.00
##0000007.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C98FB
Deuteranopia (green-blind)
#6396F4
Tritanopia (blue-blind)
#9599B1
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #a783f7;
/* rgb */ color: rgb(167, 131, 247);
/* oklch */ color: oklch(69.4% 0.167 296.1);
Tailwind
colors: {
  custom: {
    50: '#c4a7fa',
    500: '#a783f7',
    950: '#000000',
  },
}
SCSS
$custom: #a783f7;
$custom-light: #c4a7fa;
$custom-dark: #000000;
JSON
{
  "hex": "#a783f7",
  "rgb": {
    "r": 167,
    "g": 131,
    "b": 247
  },
  "hsl": {
    "h": 258.621,
    "s": 87.879,
    "l": 74.118
  },
  "oklch": {
    "l": 0.69356,
    "c": 0.16731,
    "h": 296.1
  },
  "luminance": 0.31163
}

Semantic roles & 50–950 ramp

primary
#A783F7
secondary
#EBF5D6
accent
#E4019E
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#130F17
muted
#827F85

Preview Lab

Preview with #A783F7

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

Preview Lab → · Contrast checker → · Palette generator →

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