#A74BE7#A74BE7

#A74BE7 is a mid, highly saturated violet. Relative luminance 0.190; OKLCH L 60.3% C 0.228 H 308.0°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#A74BE7
RGBrgb(167, 75, 231)
HSLhsl(275, 76%, 60%)
HSVhsv(275, 68%, 91%)
CMYKcmyk(27.7%, 67.5%, 0%, 9.4%)
CIE-LABlab(50.71, 63.44, -63.58)
CIE-LCHlch(50.71, 89.81, 314.94°)
OKLaboklab(60.3% 0.1406 -0.1801)
OKLCHoklch(60.3% 0.228 308)
XYZxyz(32.8732, 19.0176, 77.5248)
Luminance0.1902 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A74BE7 #8BE74B
analogous
#594BE7 #A74BE7 #E74BD9
triadic
#A74BE7 #E7A74B #4BE7A7
tetradic
#A74BE7 #E7594B #8BE74B #4BD9E7
square
#A74BE7 #E7594B #8BE74B #4BD9E7
split-complementary
#A74BE7 #D9E74B #4BE759
monochromatic
#6816A2 #8B1DD8 #A74BE7 #C181EE #DCB7F5

Accessibility & contrast

On white

4.37
#A74BE7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#A74BE7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A74BE7
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A74BE7#FFFFFF#000000##000000
##A74BE71.004.374.804.80
#FFFFFF4.371.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0075EC
Deuteranopia (green-blind)
#277AE4
Tritanopia (blue-blind)
#9D6D93
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #a74be7;
/* rgb */ color: rgb(167, 75, 231);
/* oklch */ color: oklch(60.3% 0.228 308.0);
Tailwind
colors: {
  custom: {
    50: '#c684ef',
    500: '#a74be7',
    950: '#000000',
  },
}
SCSS
$custom: #a74be7;
$custom-light: #c684ef;
$custom-dark: #000000;
JSON
{
  "hex": "#a74be7",
  "rgb": {
    "r": 167,
    "g": 75,
    "b": 231
  },
  "hsl": {
    "h": 275.385,
    "s": 76.471,
    "l": 60
  },
  "oklch": {
    "l": 0.60297,
    "c": 0.22847,
    "h": 308
  },
  "luminance": 0.19017
}

Semantic roles & 50–950 ramp

primary
#A74BE7
secondary
#C2E5A9
accent
#F33583
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#130B17
muted
#827C85

Preview Lab

Preview with #A74BE7

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

Preview Lab → · Contrast checker → · Palette generator →

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