#A74BEC#A74BEC

#A74BEC is a mid, highly saturated violet. Relative luminance 0.193; OKLCH L 60.6% C 0.233 H 306.9°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#A74BEC
RGBrgb(167, 75, 236)
HSLhsl(274, 81%, 61%)
HSVhsv(274, 68%, 93%)
CMYKcmyk(29.2%, 68.2%, 0%, 7.5%)
CIE-LABlab(51.04, 64.53, -65.85)
CIE-LCHlch(51.04, 92.20, 314.42°)
OKLaboklab(60.64% 0.14 -0.1868)
OKLCHoklch(60.64% 0.233 306.9)
XYZxyz(33.5895, 19.3042, 81.2972)
Luminance0.1930 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A74BEC #90EC4B
analogous
#564BEC #A74BEC #EC4BE0
triadic
#A74BEC #ECA74B #4BECA7
tetradic
#A74BEC #EC564B #90EC4B #4BE0EC
square
#A74BEC #EC564B #90EC4B #4BE0EC
split-complementary
#A74BEC #E0EC4B #4BEC56
monochromatic
#6912AB #8B18E2 #A74BEC #C282F2 #DDBAF8

Accessibility & contrast

On white

4.32
#A74BEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#A74BEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A74BEC
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A74BEC#FFFFFF#000000##000000
##A74BEC1.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0076F1
Deuteranopia (green-blind)
#1B7AE9
Tritanopia (blue-blind)
#9B6F96
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #a74bec;
/* rgb */ color: rgb(167, 75, 236);
/* oklch */ color: oklch(60.6% 0.233 306.9);
Tailwind
colors: {
  custom: {
    50: '#c684f3',
    500: '#a74bec',
    950: '#000000',
  },
}
SCSS
$custom: #a74bec;
$custom-light: #c684f3;
$custom-dark: #000000;
JSON
{
  "hex": "#a74bec",
  "rgb": {
    "r": 167,
    "g": 75,
    "b": 236
  },
  "hsl": {
    "h": 274.286,
    "s": 80.905,
    "l": 60.98
  },
  "oklch": {
    "l": 0.60641,
    "c": 0.23343,
    "h": 306.9
  },
  "luminance": 0.19304
}

Semantic roles & 50–950 ramp

primary
#A74BEC
secondary
#C5E8AB
accent
#DD0864
background
#FCF8FF
surface
#F9F0FE
border
#D2CBD6
text
#140B17
muted
#827C85

Preview Lab

Preview with #A74BEC

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

Preview Lab → · Contrast checker → · Palette generator →

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