#A274F8#A274F8

#A274F8 is a light, vivid violet. Relative luminance 0.269; OKLCH L 66.5% C 0.190 H 297.0°. Best body text is #000000 at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#A274F8
RGBrgb(162, 116, 248)
HSLhsl(261, 90%, 71%)
HSVhsv(261, 53%, 97%)
CMYKcmyk(34.7%, 53.2%, 0%, 2.7%)
CIE-LABlab(58.93, 45.65, -59.88)
CIE-LCHlch(58.93, 75.30, 307.32°)
OKLaboklab(66.49% 0.0864 -0.1695)
OKLCHoklch(66.49% 0.19 297)
XYZxyz(38.0847, 26.9489, 91.9839)
Luminance0.2695 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A274F8 #CAF874
analogous
#7488F8 #A274F8 #E474F8
triadic
#A274F8 #F8A274 #74F8A2
tetradic
#A274F8 #F87488 #CAF874 #74F8E4
square
#A274F8 #F87488 #CAF874 #74F8E4
split-complementary
#A274F8 #F8E474 #88F874
monochromatic
#580CE6 #7B3AF5 #A274F8 #C9AEFB #ECE2FE

Accessibility & contrast

On white

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

On black

6.39
#A274F8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A274F8
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A274F8#FFFFFF#000000##000000
##A274F81.003.296.396.39
#FFFFFF3.291.0021.0021.00
#0000006.3921.001.001.00
##0000006.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D8EFC
Deuteranopia (green-blind)
#4A8CF5
Tritanopia (blue-blind)
#8E8FAB
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #a274f8;
/* rgb */ color: rgb(162, 116, 248);
/* oklch */ color: oklch(66.5% 0.190 297.0);
Tailwind
colors: {
  custom: {
    50: '#c29dfb',
    500: '#a274f8',
    950: '#000000',
  },
}
SCSS
$custom: #a274f8;
$custom-light: #c29dfb;
$custom-dark: #000000;
JSON
{
  "hex": "#a274f8",
  "rgb": {
    "r": 162,
    "g": 116,
    "b": 248
  },
  "hsl": {
    "h": 260.909,
    "s": 90.411,
    "l": 71.373
  },
  "oklch": {
    "l": 0.66493,
    "c": 0.19024,
    "h": 297
  },
  "luminance": 0.26949
}

Semantic roles & 50–950 ramp

primary
#A274F8
secondary
#E9F5D3
accent
#E60096
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E17
muted
#827E85

Preview Lab

Preview with #A274F8

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

Preview Lab → · Contrast checker → · Palette generator →

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