#A275CB#A275CB

#A275CB is a light, vivid violet. Relative luminance 0.247; OKLCH L 64.1% C 0.133 H 307.1°. Best body text is #000000 at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#A275CB
RGBrgb(162, 117, 203)
HSLhsl(271, 45%, 63%)
HSVhsv(271, 42%, 80%)
CMYKcmyk(20.2%, 42.4%, 0%, 20.4%)
CIE-LABlab(56.80, 34.19, -38.06)
CIE-LCHlch(56.80, 51.17, 311.93°)
OKLaboklab(64.14% 0.0802 -0.1059)
OKLCHoklch(64.14% 0.133 307.1)
XYZxyz(32.0390, 24.7160, 59.5712)
Luminance0.2472 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A275CB #9ECB75
analogous
#7775CB #A275CB #CB75C9
triadic
#A275CB #CBA275 #75CBA2
tetradic
#A275CB #CB7775 #9ECB75 #75C9CB
square
#A275CB #CB7775 #9ECB75 #75C9CB
split-complementary
#A275CB #C9CB75 #75CB77
monochromatic
#653690 #8449BA #A275CB #C0A1DC #DECEEC

Accessibility & contrast

On white

3.53
#A275CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.94
#A275CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A275CB
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A275CB#FFFFFF#000000##000000
##A275CB1.003.535.945.94
#FFFFFF3.531.0021.0021.00
#0000005.9421.001.001.00
##0000005.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6187CE
Deuteranopia (green-blind)
#6C89C9
Tritanopia (blue-blind)
#9C8396
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #a275cb;
/* rgb */ color: rgb(162, 117, 203);
/* oklch */ color: oklch(64.1% 0.133 307.1);
Tailwind
colors: {
  custom: {
    50: '#bf9ddb',
    500: '#a275cb',
    950: '#000000',
  },
}
SCSS
$custom: #a275cb;
$custom-light: #bf9ddb;
$custom-dark: #000000;
JSON
{
  "hex": "#a275cb",
  "rgb": {
    "r": 162,
    "g": 117,
    "b": 203
  },
  "hsl": {
    "h": 271.395,
    "s": 45.263,
    "l": 62.745
  },
  "oklch": {
    "l": 0.64142,
    "c": 0.1328,
    "h": 307.1
  },
  "luminance": 0.24716
}

Semantic roles & 50–950 ramp

primary
#A275CB
secondary
#CDDDBE
accent
#B82D70
background
#FBF9FD
surface
#F7F2FB
border
#D0CCD4
text
#120E15
muted
#817E83

Preview Lab

Preview with #A275CB

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

Preview Lab → · Contrast checker → · Palette generator →

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