#A274F6#A274F6

#A274F6 is a light, vivid violet. Relative luminance 0.268; OKLCH L 66.4% C 0.188 H 297.4°. Best body text is #000000 at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#A274F6
RGBrgb(162, 116, 246)
HSLhsl(261, 88%, 71%)
HSVhsv(261, 53%, 96%)
CMYKcmyk(34.1%, 52.8%, 0%, 3.5%)
CIE-LABlab(58.81, 45.15, -58.96)
CIE-LCHlch(58.81, 74.26, 307.44°)
OKLaboklab(66.37% 0.0863 -0.1668)
OKLCHoklch(66.37% 0.188 297.4)
XYZxyz(37.7761, 26.8255, 90.3585)
Luminance0.2683 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A274F6 #C8F674
analogous
#7487F6 #A274F6 #E374F6
triadic
#A274F6 #F6A274 #74F6A2
tetradic
#A274F6 #F67487 #C8F674 #74F6E3
square
#A274F6 #F67487 #C8F674 #74F6E3
split-complementary
#A274F6 #F6E374 #87F674
monochromatic
#590FE1 #7C3BF2 #A274F6 #C8ADFA #ECE2FD

Accessibility & contrast

On white

3.30
#A274F6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.37
#A274F6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A274F6
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A274F6#FFFFFF#000000##000000
##A274F61.003.306.376.37
#FFFFFF3.301.0021.0021.00
#0000006.3721.001.001.00
##0000006.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F8EFA
Deuteranopia (green-blind)
#4C8CF3
Tritanopia (blue-blind)
#8F8EAA
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #a274f6;
/* rgb */ color: rgb(162, 116, 246);
/* oklch */ color: oklch(66.4% 0.188 297.4);
Tailwind
colors: {
  custom: {
    50: '#c19dfa',
    500: '#a274f6',
    950: '#000000',
  },
}
SCSS
$custom: #a274f6;
$custom-light: #c19dfa;
$custom-dark: #000000;
JSON
{
  "hex": "#a274f6",
  "rgb": {
    "r": 162,
    "g": 116,
    "b": 246
  },
  "hsl": {
    "h": 261.231,
    "s": 87.838,
    "l": 70.98
  },
  "oklch": {
    "l": 0.66372,
    "c": 0.18779,
    "h": 297.4
  },
  "luminance": 0.26826
}

Semantic roles & 50–950 ramp

primary
#A274F6
secondary
#E8F4D2
accent
#E40194
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E17
muted
#827E85

Preview Lab

Preview with #A274F6

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

Preview Lab → · Contrast checker → · Palette generator →

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