#A274CD#A274CD

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

Color values

HEX#A274CD
RGBrgb(162, 116, 205)
HSLhsl(271, 47%, 63%)
HSVhsv(271, 43%, 80%)
CMYKcmyk(21%, 43.4%, 0%, 19.6%)
CIE-LABlab(56.66, 35.22, -39.41)
CIE-LCHlch(56.66, 52.85, 311.79°)
OKLaboklab(64.07% 0.082 -0.1097)
OKLCHoklch(64.07% 0.137 306.8)
XYZxyz(32.1629, 24.5802, 60.7958)
Luminance0.2458 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A274CD #9FCD74
analogous
#7574CD #A274CD #CD74CC
triadic
#A274CD #CDA274 #74CDA2
tetradic
#A274CD #CD7574 #9FCD74 #74CCCD
square
#A274CD #CD7574 #9FCD74 #74CCCD
split-complementary
#A274CD #CCCD74 #74CD75
monochromatic
#653592 #8447BD #A274CD #C0A1DD #DECEED

Accessibility & contrast

On white

3.55
#A274CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.92
#A274CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A274CD
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A274CD#FFFFFF#000000##000000
##A274CD1.003.555.925.92
#FFFFFF3.551.0021.0021.00
#0000005.9221.001.001.00
##0000005.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F86D0
Deuteranopia (green-blind)
#6A88CB
Tritanopia (blue-blind)
#9C8297
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #a274cd;
/* rgb */ color: rgb(162, 116, 205);
/* oklch */ color: oklch(64.1% 0.137 306.8);
Tailwind
colors: {
  custom: {
    50: '#bf9ddc',
    500: '#a274cd',
    950: '#000000',
  },
}
SCSS
$custom: #a274cd;
$custom-light: #bf9ddc;
$custom-dark: #000000;
JSON
{
  "hex": "#a274cd",
  "rgb": {
    "r": 162,
    "g": 116,
    "b": 205
  },
  "hsl": {
    "h": 271.011,
    "s": 47.09,
    "l": 62.941
  },
  "oklch": {
    "l": 0.64072,
    "c": 0.13698,
    "h": 306.8
  },
  "luminance": 0.2458
}

Semantic roles & 50–950 ramp

primary
#A274CD
secondary
#CEDEBE
accent
#BA2B70
background
#FBF9FD
surface
#F7F2FB
border
#D0CCD4
text
#120E15
muted
#817E83

Preview Lab

Preview with #A274CD

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

Preview Lab → · Contrast checker → · Palette generator →

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