#A275F2#A275F2

#A275F2 is a light, vivid violet. Relative luminance 0.268; OKLCH L 66.3% C 0.181 H 297.9°. Best body text is #000000 at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#A275F2
RGBrgb(162, 117, 242)
HSLhsl(262, 83%, 70%)
HSVhsv(262, 52%, 95%)
CMYKcmyk(33.1%, 51.7%, 0%, 5.1%)
CIE-LABlab(58.80, 43.59, -56.76)
CIE-LCHlch(58.80, 71.57, 307.53°)
OKLaboklab(66.29% 0.0848 -0.1603)
OKLCHoklch(66.29% 0.181 297.9)
XYZxyz(37.2847, 26.8143, 87.1985)
Luminance0.2681 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A275F2 #C5F275
analogous
#7586F2 #A275F2 #E075F2
triadic
#A275F2 #F2A275 #75F2A2
tetradic
#A275F2 #F27586 #C5F275 #75F2E0
square
#A275F2 #F27586 #C5F275 #75F2E0
split-complementary
#A275F2 #F2E075 #86F275
monochromatic
#5B14D8 #7C3DED #A275F2 #C8ADF7 #ECE3FC

Accessibility & contrast

On white

3.30
#A275F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.36
#A275F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A275F2
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A275F2#FFFFFF#000000##000000
##A275F21.003.306.366.36
#FFFFFF3.301.0021.0021.00
#0000006.3621.001.001.00
##0000006.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#458EF6
Deuteranopia (green-blind)
#528CEF
Tritanopia (blue-blind)
#918DA9
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #a275f2;
/* rgb */ color: rgb(162, 117, 242);
/* oklch */ color: oklch(66.3% 0.181 297.9);
Tailwind
colors: {
  custom: {
    50: '#c19ef7',
    500: '#a275f2',
    950: '#000000',
  },
}
SCSS
$custom: #a275f2;
$custom-light: #c19ef7;
$custom-dark: #000000;
JSON
{
  "hex": "#a275f2",
  "rgb": {
    "r": 162,
    "g": 117,
    "b": 242
  },
  "hsl": {
    "h": 261.6,
    "s": 82.781,
    "l": 70.392
  },
  "oklch": {
    "l": 0.66291,
    "c": 0.1814,
    "h": 297.9
  },
  "luminance": 0.26815
}

Semantic roles & 50–950 ramp

primary
#A275F2
secondary
#E6F3D0
accent
#DF0691
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E17
muted
#827E85

Preview Lab

Preview with #A275F2

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

Preview Lab → · Contrast checker → · Palette generator →

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