#A275F5#A275F5

#A275F5 is a light, vivid violet. Relative luminance 0.270; OKLCH L 66.5% C 0.185 H 297.3°. Best body text is #000000 at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#A275F5
RGBrgb(162, 117, 245)
HSLhsl(261, 86%, 71%)
HSVhsv(261, 52%, 96%)
CMYKcmyk(33.9%, 52.2%, 0%, 3.9%)
CIE-LABlab(58.97, 44.35, -58.15)
CIE-LCHlch(58.97, 73.13, 307.33°)
OKLaboklab(66.47% 0.085 -0.1644)
OKLCHoklch(66.47% 0.185 297.3)
XYZxyz(37.7389, 26.9960, 89.5910)
Luminance0.2700 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A275F5 #C8F575
analogous
#7588F5 #A275F5 #E275F5
triadic
#A275F5 #F5A275 #75F5A2
tetradic
#A275F5 #F57588 #C8F575 #75F5E2
square
#A275F5 #F57588 #C8F575 #75F5E2
split-complementary
#A275F5 #F5E275 #88F575
monochromatic
#5910DF #7C3CF1 #A275F5 #C8AEF9 #ECE2FD

Accessibility & contrast

On white

3.28
#A275F5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.40
#A275F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A275F5
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A275F5#FFFFFF#000000##000000
##A275F51.003.286.406.40
#FFFFFF3.281.0021.0021.00
#0000006.4021.001.001.00
##0000006.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#428EF9
Deuteranopia (green-blind)
#4F8CF2
Tritanopia (blue-blind)
#8F8EAA
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #a275f5;
/* rgb */ color: rgb(162, 117, 245);
/* oklch */ color: oklch(66.5% 0.185 297.3);
Tailwind
colors: {
  custom: {
    50: '#c19ef9',
    500: '#a275f5',
    950: '#000000',
  },
}
SCSS
$custom: #a275f5;
$custom-light: #c19ef9;
$custom-dark: #000000;
JSON
{
  "hex": "#a275f5",
  "rgb": {
    "r": 162,
    "g": 117,
    "b": 245
  },
  "hsl": {
    "h": 261.094,
    "s": 86.486,
    "l": 70.98
  },
  "oklch": {
    "l": 0.6647,
    "c": 0.1851,
    "h": 297.3
  },
  "luminance": 0.26997
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A275F5

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

Preview Lab → · Contrast checker → · Palette generator →

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