#A74FF2#A74FF2

#A74FF2 is a mid, highly saturated violet. Relative luminance 0.202; OKLCH L 61.5% C 0.235 H 305.2°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#A74FF2
RGBrgb(167, 79, 242)
HSLhsl(272, 86%, 63%)
HSVhsv(272, 67%, 95%)
CMYKcmyk(31%, 67.4%, 0%, 5.1%)
CIE-LABlab(52.08, 64.08, -67.53)
CIE-LCHlch(52.08, 93.10, 313.50°)
OKLaboklab(61.51% 0.1352 -0.1917)
OKLCHoklch(61.51% 0.235 305.2)
XYZxyz(34.7558, 20.2185, 86.0587)
Luminance0.2022 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A74FF2 #9AF24F
analogous
#564FF2 #A74FF2 #F24FEB
triadic
#A74FF2 #F2A74F #4FF2A7
tetradic
#A74FF2 #F2564F #9AF24F #4FEBF2
square
#A74FF2 #F2564F #9AF24F #4FEBF2
split-complementary
#A74FF2 #EBF24F #4FF256
monochromatic
#6A0EB9 #8B16EE #A74FF2 #C388F6 #E0C1FA

Accessibility & contrast

On white

4.16
#A74FF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#A74FF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A74FF2
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A74FF2#FFFFFF#000000##000000
##A74FF21.004.165.045.04
#FFFFFF4.161.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AF7
Deuteranopia (green-blind)
#147CEF
Tritanopia (blue-blind)
#99749B
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #a74ff2;
/* rgb */ color: rgb(167, 79, 242);
/* oklch */ color: oklch(61.5% 0.235 305.2);
Tailwind
colors: {
  custom: {
    50: '#c686f7',
    500: '#a74ff2',
    950: '#000000',
  },
}
SCSS
$custom: #a74ff2;
$custom-light: #c686f7;
$custom-dark: #000000;
JSON
{
  "hex": "#a74ff2",
  "rgb": {
    "r": 167,
    "g": 79,
    "b": 242
  },
  "hsl": {
    "h": 272.393,
    "s": 86.243,
    "l": 62.941
  },
  "oklch": {
    "l": 0.61514,
    "c": 0.2346,
    "h": 305.2
  },
  "luminance": 0.20218
}

Semantic roles & 50–950 ramp

primary
#A74FF2
secondary
#CCECB1
accent
#E3036A
background
#FCF8FF
surface
#F9F0FF
border
#D2CBD7
text
#140C17
muted
#827D85

Preview Lab

Preview with #A74FF2

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

Preview Lab → · Contrast checker → · Palette generator →

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