#A25ECB#A25ECB

#A25ECB is a mid, vivid violet. Relative luminance 0.200; OKLCH L 60.4% C 0.171 H 311.1°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#A25ECB
RGBrgb(162, 94, 203)
HSLhsl(277, 51%, 58%)
HSVhsv(277, 54%, 80%)
CMYKcmyk(20.2%, 53.7%, 0%, 20.4%)
CIE-LABlab(51.84, 46.82, -45.90)
CIE-LCHlch(51.84, 65.56, 315.57°)
OKLaboklab(60.45% 0.1122 -0.1285)
OKLCHoklch(60.45% 0.171 311.1)
XYZxyz(29.6805, 19.9992, 58.7850)
Luminance0.2000 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A25ECB #87CB5E
analogous
#6B5ECB #A25ECB #CB5EBE
triadic
#A25ECB #CBA25E #5ECBA2
tetradic
#A25ECB #CB6B5E #87CB5E #5EBECB
square
#A25ECB #CB6B5E #87CB5E #5EBECB
split-complementary
#A25ECB #BECB5E #5ECB6B
monochromatic
#622B84 #853AB2 #A25ECB #BD8CDA #D7BBE9

Accessibility & contrast

On white

4.20
#A25ECB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#A25ECB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A25ECB
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A25ECB#FFFFFF#000000##000000
##A25ECB1.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a25ecb;
/* rgb */ color: rgb(162, 94, 203);
/* oklch */ color: oklch(60.4% 0.171 311.1);
Tailwind
colors: {
  custom: {
    50: '#c08edb',
    500: '#a25ecb',
    950: '#000000',
  },
}
SCSS
$custom: #a25ecb;
$custom-light: #c08edb;
$custom-dark: #000000;
JSON
{
  "hex": "#a25ecb",
  "rgb": {
    "r": 162,
    "g": 94,
    "b": 203
  },
  "hsl": {
    "h": 277.431,
    "s": 51.174,
    "l": 58.235
  },
  "oklch": {
    "l": 0.60446,
    "c": 0.17058,
    "h": 311.1
  },
  "luminance": 0.19999
}

Semantic roles & 50–950 ramp

primary
#A25ECB
secondary
#BDD8AD
accent
#DB4D82
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#120C15
muted
#817D83

Preview Lab

Preview with #A25ECB

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

Preview Lab → · Contrast checker → · Palette generator →

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