#A274F5#A274F5

#A274F5 is a light, vivid violet. Relative luminance 0.268; OKLCH L 66.3% C 0.187 H 297.5°. Best body text is #000000 at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#A274F5
RGBrgb(162, 116, 245)
HSLhsl(261, 87%, 71%)
HSVhsv(261, 53%, 96%)
CMYKcmyk(33.9%, 52.7%, 0%, 3.9%)
CIE-LABlab(58.76, 44.90, -58.50)
CIE-LCHlch(58.76, 73.74, 307.51°)
OKLaboklab(66.31% 0.0862 -0.1654)
OKLCHoklch(66.31% 0.187 297.5)
XYZxyz(37.6230, 26.7643, 89.5523)
Luminance0.2676 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A274F5 #C7F574
analogous
#7486F5 #A274F5 #E274F5
triadic
#A274F5 #F5A274 #74F5A2
tetradic
#A274F5 #F57486 #C7F574 #74F5E2
square
#A274F5 #F57486 #C7F574 #74F5E2
split-complementary
#A274F5 #F5E274 #86F574
monochromatic
#5A10DF #7C3BF1 #A274F5 #C8ADF9 #ECE2FD

Accessibility & contrast

On white

3.31
#A274F5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.35
#A274F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A274F5
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A274F5#FFFFFF#000000##000000
##A274F51.003.316.356.35
#FFFFFF3.311.0021.0021.00
#0000006.3521.001.001.00
##0000006.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#408EF9
Deuteranopia (green-blind)
#4D8CF2
Tritanopia (blue-blind)
#908EAA
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #a274f5;
/* rgb */ color: rgb(162, 116, 245);
/* oklch */ color: oklch(66.3% 0.187 297.5);
Tailwind
colors: {
  custom: {
    50: '#c19df9',
    500: '#a274f5',
    950: '#000000',
  },
}
SCSS
$custom: #a274f5;
$custom-light: #c19df9;
$custom-dark: #000000;
JSON
{
  "hex": "#a274f5",
  "rgb": {
    "r": 162,
    "g": 116,
    "b": 245
  },
  "hsl": {
    "h": 261.395,
    "s": 86.577,
    "l": 70.784
  },
  "oklch": {
    "l": 0.66311,
    "c": 0.18656,
    "h": 297.5
  },
  "luminance": 0.26765
}

Semantic roles & 50–950 ramp

primary
#A274F5
secondary
#E7F4D1
accent
#E30293
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E17
muted
#827E85

Preview Lab

Preview with #A274F5

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

Preview Lab → · Contrast checker → · Palette generator →

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