#A274F4#A274F4

#A274F4 is a light, vivid violet. Relative luminance 0.267; OKLCH L 66.3% C 0.185 H 297.7°. Best body text is #000000 at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#A274F4
RGBrgb(162, 116, 244)
HSLhsl(262, 85%, 71%)
HSVhsv(262, 52%, 96%)
CMYKcmyk(33.6%, 52.5%, 0%, 4.3%)
CIE-LABlab(58.70, 44.65, -58.03)
CIE-LCHlch(58.70, 73.22, 307.57°)
OKLaboklab(66.25% 0.0862 -0.1641)
OKLCHoklch(66.25% 0.185 297.7)
XYZxyz(37.4708, 26.7034, 88.7505)
Luminance0.2670 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A274F4 #C6F474
analogous
#7486F4 #A274F4 #E274F4
triadic
#A274F4 #F4A274 #74F4A2
tetradic
#A274F4 #F47486 #C6F474 #74F4E2
square
#A274F4 #F47486 #C6F474 #74F4E2
split-complementary
#A274F4 #F4E274 #86F474
monochromatic
#5A11DC #7C3BF0 #A274F4 #C8ADF8 #ECE3FD

Accessibility & contrast

On white

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

On black

6.34
#A274F4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A274F4
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A274F4#FFFFFF#000000##000000
##A274F41.003.316.346.34
#FFFFFF3.311.0021.0021.00
#0000006.3421.001.001.00
##0000006.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#418EF8
Deuteranopia (green-blind)
#4E8CF1
Tritanopia (blue-blind)
#908DA9
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #a274f4;
/* rgb */ color: rgb(162, 116, 244);
/* oklch */ color: oklch(66.3% 0.185 297.7);
Tailwind
colors: {
  custom: {
    50: '#c19df8',
    500: '#a274f4',
    950: '#000000',
  },
}
SCSS
$custom: #a274f4;
$custom-light: #c19df8;
$custom-dark: #000000;
JSON
{
  "hex": "#a274f4",
  "rgb": {
    "r": 162,
    "g": 116,
    "b": 244
  },
  "hsl": {
    "h": 261.563,
    "s": 85.333,
    "l": 70.588
  },
  "oklch": {
    "l": 0.66251,
    "c": 0.18534,
    "h": 297.7
  },
  "luminance": 0.26704
}

Semantic roles & 50–950 ramp

primary
#A274F4
secondary
#E7F3D1
accent
#E20492
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E17
muted
#827E85

Preview Lab

Preview with #A274F4

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

Preview Lab → · Contrast checker → · Palette generator →

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