#A274CE#A274CE

#A274CE is a light, vivid violet. Relative luminance 0.246; OKLCH L 64.1% C 0.138 H 306.5°. Best body text is #000000 at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#A274CE
RGBrgb(162, 116, 206)
HSLhsl(271, 48%, 63%)
HSVhsv(271, 44%, 81%)
CMYKcmyk(21.4%, 43.7%, 0%, 19.2%)
CIE-LABlab(56.71, 35.45, -39.90)
CIE-LCHlch(56.71, 53.37, 311.62°)
OKLaboklab(64.12% 0.0821 -0.1112)
OKLCHoklch(64.12% 0.138 306.5)
XYZxyz(32.2840, 24.6287, 61.4336)
Luminance0.2463 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A274CE #A0CE74
analogous
#7574CE #A274CE #CE74CD
triadic
#A274CE #CEA274 #74CEA2
tetradic
#A274CE #CE7574 #A0CE74 #74CDCE
square
#A274CE #CE7574 #A0CE74 #74CDCE
split-complementary
#A274CE #CDCE74 #74CE75
monochromatic
#653494 #8447BE #A274CE #C0A1DE #DFCEEE

Accessibility & contrast

On white

3.54
#A274CE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.93
#A274CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A274CE
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A274CE#FFFFFF#000000##000000
##A274CE1.003.545.935.93
#FFFFFF3.541.0021.0021.00
#0000005.9321.001.001.00
##0000005.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E86D1
Deuteranopia (green-blind)
#6988CC
Tritanopia (blue-blind)
#9B8397
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #a274ce;
/* rgb */ color: rgb(162, 116, 206);
/* oklch */ color: oklch(64.1% 0.138 306.5);
Tailwind
colors: {
  custom: {
    50: '#bf9ddd',
    500: '#a274ce',
    950: '#000000',
  },
}
SCSS
$custom: #a274ce;
$custom-light: #bf9ddd;
$custom-dark: #000000;
JSON
{
  "hex": "#a274ce",
  "rgb": {
    "r": 162,
    "g": 116,
    "b": 206
  },
  "hsl": {
    "h": 270.667,
    "s": 47.872,
    "l": 63.137
  },
  "oklch": {
    "l": 0.64123,
    "c": 0.13821,
    "h": 306.5
  },
  "luminance": 0.24628
}

Semantic roles & 50–950 ramp

primary
#A274CE
secondary
#CFDFBF
accent
#BB2A71
background
#FBF9FD
surface
#F7F2FB
border
#D0CCD4
text
#120E15
muted
#817E83

Preview Lab

Preview with #A274CE

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

Preview Lab → · Contrast checker → · Palette generator →

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