#A275D7#A275D7

#A275D7 is a light, vivid violet. Relative luminance 0.253; OKLCH L 64.8% C 0.148 H 303.7°. Best body text is #000000 at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#A275D7
RGBrgb(162, 117, 215)
HSLhsl(268, 55%, 65%)
HSVhsv(268, 46%, 84%)
CMYKcmyk(24.7%, 45.6%, 0%, 15.7%)
CIE-LABlab(57.38, 37.00, -43.94)
CIE-LCHlch(57.38, 57.44, 310.10°)
OKLaboklab(64.77% 0.0821 -0.1229)
OKLCHoklch(64.77% 0.148 303.7)
XYZxyz(33.5247, 25.3103, 67.3960)
Luminance0.2531 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A275D7 #AAD775
analogous
#7579D7 #A275D7 #D375D7
triadic
#A275D7 #D7A275 #75D7A2
tetradic
#A275D7 #D77579 #AAD775 #75D7D3
square
#A275D7 #D77579 #AAD775 #75D7D3
split-complementary
#A275D7 #D7D375 #79D775
monochromatic
#642FA2 #8246C9 #A275D7 #C2A4E5 #E2D4F3

Accessibility & contrast

On white

3.46
#A275D7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.06
#A275D7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A275D7
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A275D7#FFFFFF#000000##000000
##A275D71.003.466.066.06
#FFFFFF3.461.0021.0021.00
#0000006.0621.001.001.00
##0000006.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A89DB
Deuteranopia (green-blind)
#658AD4
Tritanopia (blue-blind)
#99869C
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #a275d7;
/* rgb */ color: rgb(162, 117, 215);
/* oklch */ color: oklch(64.8% 0.148 303.7);
Tailwind
colors: {
  custom: {
    50: '#bf9de4',
    500: '#a275d7',
    950: '#000000',
  },
}
SCSS
$custom: #a275d7;
$custom-light: #bf9de4;
$custom-dark: #000000;
JSON
{
  "hex": "#a275d7",
  "rgb": {
    "r": 162,
    "g": 117,
    "b": 215
  },
  "hsl": {
    "h": 267.551,
    "s": 55.056,
    "l": 65.098
  },
  "oklch": {
    "l": 0.64765,
    "c": 0.14779,
    "h": 303.7
  },
  "luminance": 0.2531
}

Semantic roles & 50–950 ramp

primary
#A275D7
secondary
#D5E5C3
accent
#C32379
background
#FCF9FE
surface
#F8F2FC
border
#D1CCD5
text
#120E15
muted
#817E84

Preview Lab

Preview with #A275D7

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

Preview Lab → · Contrast checker → · Palette generator →

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