#A274CA#A274CA

#A274CA is a light, vivid violet. Relative luminance 0.244; OKLCH L 63.9% C 0.133 H 307.7°. Best body text is #000000 at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#A274CA
RGBrgb(162, 116, 202)
HSLhsl(272, 45%, 62%)
HSVhsv(272, 43%, 79%)
CMYKcmyk(19.8%, 42.6%, 0%, 20.8%)
CIE-LABlab(56.52, 34.53, -37.93)
CIE-LCHlch(56.52, 51.29, 312.31°)
OKLaboklab(63.92% 0.0814 -0.1055)
OKLCHoklch(63.92% 0.133 307.7)
XYZxyz(31.8043, 24.4368, 58.9070)
Luminance0.2444 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A274CA #9CCA74
analogous
#7774CA #A274CA #CA74C7
triadic
#A274CA #CAA274 #74CAA2
tetradic
#A274CA #CA7774 #9CCA74 #74C7CA
square
#A274CA #CA7774 #9CCA74 #74C7CA
split-complementary
#A274CA #C7CA74 #74CA77
monochromatic
#65368E #8448B9 #A274CA #C0A0DB #DDCDEC

Accessibility & contrast

On white

3.57
#A274CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.89
#A274CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A274CA
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A274CA#FFFFFF#000000##000000
##A274CA1.003.575.895.89
#FFFFFF3.571.0021.0021.00
#0000005.8921.001.001.00
##0000005.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6086CD
Deuteranopia (green-blind)
#6B88C8
Tritanopia (blue-blind)
#9C8295
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #a274ca;
/* rgb */ color: rgb(162, 116, 202);
/* oklch */ color: oklch(63.9% 0.133 307.7);
Tailwind
colors: {
  custom: {
    50: '#bf9dda',
    500: '#a274ca',
    950: '#000000',
  },
}
SCSS
$custom: #a274ca;
$custom-light: #bf9dda;
$custom-dark: #000000;
JSON
{
  "hex": "#a274ca",
  "rgb": {
    "r": 162,
    "g": 116,
    "b": 202
  },
  "hsl": {
    "h": 272.093,
    "s": 44.792,
    "l": 62.353
  },
  "oklch": {
    "l": 0.63919,
    "c": 0.13325,
    "h": 307.7
  },
  "luminance": 0.24436
}

Semantic roles & 50–950 ramp

primary
#A274CA
secondary
#CCDDBD
accent
#B82E6E
background
#FBF9FD
surface
#F7F2FB
border
#D0CCD4
text
#120E15
muted
#817E83

Preview Lab

Preview with #A274CA

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

Preview Lab → · Contrast checker → · Palette generator →

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