#A274F7#A274F7

#A274F7 is a light, vivid violet. Relative luminance 0.269; OKLCH L 66.4% C 0.189 H 297.2°. Best body text is #000000 at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#A274F7
RGBrgb(162, 116, 247)
HSLhsl(261, 89%, 71%)
HSVhsv(261, 53%, 97%)
CMYKcmyk(34.4%, 53%, 0%, 3.1%)
CIE-LABlab(58.87, 45.40, -59.42)
CIE-LCHlch(58.87, 74.78, 307.38°)
OKLaboklab(66.43% 0.0863 -0.1681)
OKLCHoklch(66.43% 0.189 297.2)
XYZxyz(37.9300, 26.8870, 91.1690)
Luminance0.2689 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A274F7 #C9F774
analogous
#7487F7 #A274F7 #E474F7
triadic
#A274F7 #F7A274 #74F7A2
tetradic
#A274F7 #F77487 #C9F774 #74F7E4
square
#A274F7 #F77487 #C9F774 #74F7E4
split-complementary
#A274F7 #F7E474 #87F774
monochromatic
#580DE4 #7B3AF4 #A274F7 #C9AEFA #ECE2FD

Accessibility & contrast

On white

3.29
#A274F7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.38
#A274F7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A274F7
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A274F7#FFFFFF#000000##000000
##A274F71.003.296.386.38
#FFFFFF3.291.0021.0021.00
#0000006.3821.001.001.00
##0000006.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E8EFB
Deuteranopia (green-blind)
#4B8CF4
Tritanopia (blue-blind)
#8F8EAB
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #a274f7;
/* rgb */ color: rgb(162, 116, 247);
/* oklch */ color: oklch(66.4% 0.189 297.2);
Tailwind
colors: {
  custom: {
    50: '#c29dfa',
    500: '#a274f7',
    950: '#000000',
  },
}
SCSS
$custom: #a274f7;
$custom-light: #c29dfa;
$custom-dark: #000000;
JSON
{
  "hex": "#a274f7",
  "rgb": {
    "r": 162,
    "g": 116,
    "b": 247
  },
  "hsl": {
    "h": 261.069,
    "s": 89.116,
    "l": 71.176
  },
  "oklch": {
    "l": 0.66432,
    "c": 0.18901,
    "h": 297.2
  },
  "luminance": 0.26888
}

Semantic roles & 50–950 ramp

primary
#A274F7
secondary
#E9F5D2
accent
#E60095
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E17
muted
#827E85

Preview Lab

Preview with #A274F7

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

Preview Lab → · Contrast checker → · Palette generator →

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