#A35ECB#A35ECB

#A35ECB is a mid, vivid violet. Relative luminance 0.201; OKLCH L 60.6% C 0.171 H 311.6°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#A35ECB
RGBrgb(163, 94, 203)
HSLhsl(278, 51%, 58%)
HSVhsv(278, 54%, 80%)
CMYKcmyk(19.7%, 53.7%, 0%, 20.4%)
CIE-LABlab(51.95, 47.09, -45.70)
CIE-LCHlch(51.95, 65.62, 315.86°)
OKLaboklab(60.56% 0.1134 -0.1279)
OKLCHoklch(60.56% 0.171 311.6)
XYZxyz(29.8845, 20.1044, 58.7946)
Luminance0.2010 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A35ECB #86CB5E
analogous
#6C5ECB #A35ECB #CB5EBC
triadic
#A35ECB #CBA35E #5ECBA3
tetradic
#A35ECB #CB6C5E #86CB5E #5EBCCB
square
#A35ECB #CB6C5E #86CB5E #5EBCCB
split-complementary
#A35ECB #BCCB5E #5ECB6C
monochromatic
#632B84 #863AB2 #A35ECB #BD8CDA #D8BBE9

Accessibility & contrast

On white

4.18
#A35ECB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#A35ECB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A35ECB
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A35ECB#FFFFFF#000000##000000
##A35ECB1.004.185.025.02
#FFFFFF4.181.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4078CF
Deuteranopia (green-blind)
#577DC8
Tritanopia (blue-blind)
#9F718C
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #a35ecb;
/* rgb */ color: rgb(163, 94, 203);
/* oklch */ color: oklch(60.6% 0.171 311.6);
Tailwind
colors: {
  custom: {
    50: '#c18edb',
    500: '#a35ecb',
    950: '#000000',
  },
}
SCSS
$custom: #a35ecb;
$custom-light: #c18edb;
$custom-dark: #000000;
JSON
{
  "hex": "#a35ecb",
  "rgb": {
    "r": 163,
    "g": 94,
    "b": 203
  },
  "hsl": {
    "h": 277.982,
    "s": 51.174,
    "l": 58.235
  },
  "oklch": {
    "l": 0.6056,
    "c": 0.17095,
    "h": 311.6
  },
  "luminance": 0.20104
}

Semantic roles & 50–950 ramp

primary
#A35ECB
secondary
#BDD8AD
accent
#DB4D81
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130C15
muted
#827D83

Preview Lab

Preview with #A35ECB

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

Preview Lab → · Contrast checker → · Palette generator →

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