#A275F7#A275F7

#A275F7 is a light, vivid violet. Relative luminance 0.271; OKLCH L 66.6% C 0.188 H 297.0°. Best body text is #000000 at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#A275F7
RGBrgb(162, 117, 247)
HSLhsl(261, 89%, 71%)
HSVhsv(261, 53%, 97%)
CMYKcmyk(34.4%, 52.6%, 0%, 3.1%)
CIE-LABlab(59.08, 44.85, -59.08)
CIE-LCHlch(59.08, 74.17, 307.21°)
OKLaboklab(66.59% 0.0851 -0.1671)
OKLCHoklch(66.59% 0.188 297)
XYZxyz(38.0459, 27.1188, 91.2077)
Luminance0.2712 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A275F7 #CAF775
analogous
#7589F7 #A275F7 #E375F7
triadic
#A275F7 #F7A275 #75F7A2
tetradic
#A275F7 #F77589 #CAF775 #75F7E3
square
#A275F7 #F77589 #CAF775 #75F7E3
split-complementary
#A275F7 #F7E375 #89F775
monochromatic
#580DE4 #7B3BF4 #A275F7 #C9AFFA #ECE2FD

Accessibility & contrast

On white

3.27
#A275F7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.42
#A275F7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A275F7
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A275F7#FFFFFF#000000##000000
##A275F71.003.276.426.42
#FFFFFF3.271.0021.0021.00
#0000006.4221.001.001.00
##0000006.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#408FFB
Deuteranopia (green-blind)
#4D8DF4
Tritanopia (blue-blind)
#8F8FAB
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #a275f7;
/* rgb */ color: rgb(162, 117, 247);
/* oklch */ color: oklch(66.6% 0.188 297.0);
Tailwind
colors: {
  custom: {
    50: '#c19efa',
    500: '#a275f7',
    950: '#000000',
  },
}
SCSS
$custom: #a275f7;
$custom-light: #c19efa;
$custom-dark: #000000;
JSON
{
  "hex": "#a275f7",
  "rgb": {
    "r": 162,
    "g": 117,
    "b": 247
  },
  "hsl": {
    "h": 260.769,
    "s": 89.041,
    "l": 71.373
  },
  "oklch": {
    "l": 0.66591,
    "c": 0.18756,
    "h": 297
  },
  "luminance": 0.27119
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A275F7

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

Preview Lab → · Contrast checker → · Palette generator →

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