#A783F8#A783F8

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

Color values

HEX#A783F8
RGBrgb(167, 131, 248)
HSLhsl(258, 89%, 74%)
HSVhsv(258, 47%, 97%)
CMYKcmyk(32.7%, 47.2%, 0%, 2.7%)
CIE-LABlab(62.70, 38.55, -53.84)
CIE-LCHlch(62.70, 66.22, 305.61°)
OKLaboklab(69.41% 0.0736 -0.1517)
OKLCHoklch(69.41% 0.169 295.9)
XYZxyz(40.9917, 31.2248, 92.6561)
Luminance0.3123 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A783F8 #D4F883
analogous
#839AF8 #A783F8 #E283F8
triadic
#A783F8 #F8A783 #83F8A7
tetradic
#A783F8 #F8839A #D4F883 #83F8E2
square
#A783F8 #F8839A #D4F883 #83F8E2
split-complementary
#A783F8 #F8E283 #9AF883
monochromatic
#550FF1 #7E49F5 #A783F8 #D0BDFB #EAE2FD

Accessibility & contrast

On white

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

On black

7.25
#A783F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A783F8
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A783F8#FFFFFF#000000##000000
##A783F81.002.907.257.25
#FFFFFF2.901.0021.0021.00
#0000007.2521.001.001.00
##0000007.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B98FC
Deuteranopia (green-blind)
#6296F5
Tritanopia (blue-blind)
#9599B2
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #a783f8;
/* rgb */ color: rgb(167, 131, 248);
/* oklch */ color: oklch(69.4% 0.169 295.9);
Tailwind
colors: {
  custom: {
    50: '#c4a7fb',
    500: '#a783f8',
    950: '#000000',
  },
}
SCSS
$custom: #a783f8;
$custom-light: #c4a7fb;
$custom-dark: #000000;
JSON
{
  "hex": "#a783f8",
  "rgb": {
    "r": 167,
    "g": 131,
    "b": 248
  },
  "hsl": {
    "h": 258.462,
    "s": 89.313,
    "l": 74.314
  },
  "oklch": {
    "l": 0.69411,
    "c": 0.1686,
    "h": 295.9
  },
  "luminance": 0.31225
}

Semantic roles & 50–950 ramp

primary
#A783F8
secondary
#ECF5D6
accent
#E6009F
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#130F17
muted
#827F85

Preview Lab

Preview with #A783F8

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

Preview Lab → · Contrast checker → · Palette generator →

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