#A274DB#A274DB

#A274DB is a light, vivid violet. Relative luminance 0.253; OKLCH L 64.8% C 0.154 H 303.0°. Best body text is #000000 at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#A274DB
RGBrgb(162, 116, 219)
HSLhsl(267, 59%, 66%)
HSVhsv(267, 47%, 86%)
CMYKcmyk(26%, 47%, 0%, 14.1%)
CIE-LABlab(57.35, 38.51, -46.22)
CIE-LCHlch(57.35, 60.16, 309.80°)
OKLaboklab(64.81% 0.084 -0.1295)
OKLCHoklch(64.81% 0.154 303)
XYZxyz(33.9291, 25.2867, 70.0974)
Luminance0.2529 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A274DB #ADDB74
analogous
#7479DB #A274DB #D574DB
triadic
#A274DB #DBA274 #74DBA2
tetradic
#A274DB #DB7479 #ADDB74 #74DBD5
square
#A274DB #DB7479 #ADDB74 #74DBD5
split-complementary
#A274DB #DBD574 #79DB74
monochromatic
#642CA9 #8143CE #A274DB #C3A5E8 #E3D5F4

Accessibility & contrast

On white

3.47
#A274DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.06
#A274DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A274DB
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A274DB#FFFFFF#000000##000000
##A274DB1.003.476.066.06
#FFFFFF3.471.0021.0021.00
#0000006.0621.001.001.00
##0000006.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5689DF
Deuteranopia (green-blind)
#628AD8
Tritanopia (blue-blind)
#98869D
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #a274db;
/* rgb */ color: rgb(162, 116, 219);
/* oklch */ color: oklch(64.8% 0.154 303.0);
Tailwind
colors: {
  custom: {
    50: '#c09de6',
    500: '#a274db',
    950: '#000000',
  },
}
SCSS
$custom: #a274db;
$custom-light: #c09de6;
$custom-dark: #000000;
JSON
{
  "hex": "#a274db",
  "rgb": {
    "r": 162,
    "g": 116,
    "b": 219
  },
  "hsl": {
    "h": 266.796,
    "s": 58.857,
    "l": 65.686
  },
  "oklch": {
    "l": 0.64814,
    "c": 0.15439,
    "h": 303
  },
  "luminance": 0.25287
}

Semantic roles & 50–950 ramp

primary
#A274DB
secondary
#D7E7C4
accent
#C61F7C
background
#FCF9FE
surface
#F8F2FC
border
#D1CCD5
text
#120E16
muted
#817E84

Preview Lab

Preview with #A274DB

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

Preview Lab → · Contrast checker → · Palette generator →

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