#A74CDB#A74CDB

#A74CDB is a mid, highly saturated violet. Relative luminance 0.185; OKLCH L 59.6% C 0.215 H 310.8°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#A74CDB
RGBrgb(167, 76, 219)
HSLhsl(278, 67%, 58%)
HSVhsv(278, 65%, 86%)
CMYKcmyk(23.7%, 65.3%, 0%, 14.1%)
CIE-LABlab(50.10, 60.40, -57.77)
CIE-LCHlch(50.10, 83.58, 316.28°)
OKLaboklab(59.61% 0.1406 -0.163)
OKLCHoklch(59.61% 0.215 310.8)
XYZxyz(31.3046, 18.4995, 68.9258)
Luminance0.1850 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A74CDB #80DB4C
analogous
#5F4CDB #A74CDB #DB4CC7
triadic
#A74CDB #DBA74C #4CDBA7
tetradic
#A74CDB #DB5F4C #80DB4C #4CC7DB
square
#A74CDB #DB5F4C #80DB4C #4CC7DB
split-complementary
#A74CDB #C7DB4C #4CDB5F
monochromatic
#661D90 #8A27C3 #A74CDB #C07FE5 #D9B2EF

Accessibility & contrast

On white

4.47
#A74CDB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#A74CDB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A74CDB
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A74CDB#FFFFFF#000000##000000
##A74CDB1.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0073DF
Deuteranopia (green-blind)
#3A79D8
Tritanopia (blue-blind)
#A0698D
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #a74cdb;
/* rgb */ color: rgb(167, 76, 219);
/* oklch */ color: oklch(59.6% 0.215 310.8);
Tailwind
colors: {
  custom: {
    50: '#c584e7',
    500: '#a74cdb',
    950: '#000000',
  },
}
SCSS
$custom: #a74cdb;
$custom-light: #c584e7;
$custom-dark: #000000;
JSON
{
  "hex": "#a74cdb",
  "rgb": {
    "r": 167,
    "g": 76,
    "b": 219
  },
  "hsl": {
    "h": 278.182,
    "s": 66.512,
    "l": 57.843
  },
  "oklch": {
    "l": 0.59613,
    "c": 0.21526,
    "h": 310.8
  },
  "luminance": 0.18499
}

Semantic roles & 50–950 ramp

primary
#A74CDB
secondary
#BADEA5
accent
#E93E7D
background
#FCF8FE
surface
#F8EFFC
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #A74CDB

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

Preview Lab → · Contrast checker → · Palette generator →

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