#A74FDB#A74FDB

#A74FDB is a mid, highly saturated violet. Relative luminance 0.189; OKLCH L 60.0% C 0.211 H 310.5°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#A74FDB
RGBrgb(167, 79, 219)
HSLhsl(278, 66%, 58%)
HSVhsv(278, 64%, 86%)
CMYKcmyk(23.7%, 63.9%, 0%, 14.1%)
CIE-LABlab(50.60, 59.02, -56.96)
CIE-LCHlch(50.60, 82.03, 316.02°)
OKLaboklab(59.97% 0.1372 -0.1607)
OKLCHoklch(59.97% 0.211 310.5)
XYZxyz(31.5161, 18.9226, 68.9963)
Luminance0.1892 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A74FDB #83DB4F
analogous
#614FDB #A74FDB #DB4FC9
triadic
#A74FDB #DBA74F #4FDBA7
tetradic
#A74FDB #DB614F #83DB4F #4FC9DB
square
#A74FDB #DB614F #83DB4F #4FC9DB
split-complementary
#A74FDB #C9DB4F #4FDB61
monochromatic
#671E92 #8B28C5 #A74FDB #C082E5 #DAB5F0

Accessibility & contrast

On white

4.39
#A74FDB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#A74FDB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A74FDB
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A74FDB#FFFFFF#000000##000000
##A74FDB1.004.394.784.78
#FFFFFF4.391.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0074DF
Deuteranopia (green-blind)
#3E7AD8
Tritanopia (blue-blind)
#A06B8E
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #a74fdb;
/* rgb */ color: rgb(167, 79, 219);
/* oklch */ color: oklch(60.0% 0.211 310.5);
Tailwind
colors: {
  custom: {
    50: '#c586e7',
    500: '#a74fdb',
    950: '#000000',
  },
}
SCSS
$custom: #a74fdb;
$custom-light: #c586e7;
$custom-dark: #000000;
JSON
{
  "hex": "#a74fdb",
  "rgb": {
    "r": 167,
    "g": 79,
    "b": 219
  },
  "hsl": {
    "h": 277.714,
    "s": 66.038,
    "l": 58.431
  },
  "oklch": {
    "l": 0.59973,
    "c": 0.21129,
    "h": 310.5
  },
  "luminance": 0.18922
}

Semantic roles & 50–950 ramp

primary
#A74FDB
secondary
#BCDFA7
accent
#E93F7E
background
#FCF8FE
surface
#F8F0FC
border
#D1CBD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #A74FDB

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

Preview Lab → · Contrast checker → · Palette generator →

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