#A374FB#A374FB

#A374FB is a light, vivid violet. Relative luminance 0.272; OKLCH L 66.8% C 0.194 H 296.9°. Best body text is #000000 at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#A374FB
RGBrgb(163, 116, 251)
HSLhsl(261, 94%, 72%)
HSVhsv(261, 54%, 98%)
CMYKcmyk(35.1%, 53.8%, 0%, 1.6%)
CIE-LABlab(59.20, 46.65, -61.10)
CIE-LCHlch(59.20, 76.87, 307.36°)
OKLaboklab(66.77% 0.0877 -0.173)
OKLCHoklch(66.77% 0.194 296.9)
XYZxyz(38.7579, 27.2418, 94.4643)
Luminance0.2724 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A374FB #CCFB74
analogous
#7489FB #A374FB #E774FB
triadic
#A374FB #FBA374 #74FBA3
tetradic
#A374FB #FB7489 #CCFB74 #74FBE7
square
#A374FB #FB7489 #CCFB74 #74FBE7
split-complementary
#A374FB #FBE774 #89FB74
monochromatic
#5707EE #7C39F9 #A374FB #CAAFFD #EBE1FE

Accessibility & contrast

On white

3.26
#A374FB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.45
#A374FB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A374FB
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A374FB#FFFFFF#000000##000000
##A374FB1.003.266.456.45
#FFFFFF3.261.0021.0021.00
#0000006.4521.001.001.00
##0000006.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A8FFF
Deuteranopia (green-blind)
#488DF8
Tritanopia (blue-blind)
#8F8FAD
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #a374fb;
/* rgb */ color: rgb(163, 116, 251);
/* oklch */ color: oklch(66.8% 0.194 296.9);
Tailwind
colors: {
  custom: {
    50: '#c29dfd',
    500: '#a374fb',
    950: '#000000',
  },
}
SCSS
$custom: #a374fb;
$custom-light: #c29dfd;
$custom-dark: #000000;
JSON
{
  "hex": "#a374fb",
  "rgb": {
    "r": 163,
    "g": 116,
    "b": 251
  },
  "hsl": {
    "h": 260.889,
    "s": 94.406,
    "l": 71.961
  },
  "oklch": {
    "l": 0.66772,
    "c": 0.19401,
    "h": 296.9
  },
  "luminance": 0.27242
}

Semantic roles & 50–950 ramp

primary
#A374FB
secondary
#EBF6D4
accent
#E60096
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E18
muted
#827E86

Preview Lab

Preview with #A374FB

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

Preview Lab → · Contrast checker → · Palette generator →

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