#A25CEB#A25CEB

#A25CEB is a light, highly saturated violet. Relative luminance 0.213; OKLCH L 62.1% C 0.209 H 303.4°. Best body text is #000000 at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#A25CEB
RGBrgb(162, 92, 235)
HSLhsl(269, 78%, 64%)
HSVhsv(269, 61%, 92%)
CMYKcmyk(31.1%, 60.9%, 0%, 7.8%)
CIE-LABlab(53.31, 55.19, -61.66)
CIE-LCHlch(53.31, 82.75, 311.83°)
OKLaboklab(62.13% 0.1151 -0.1747)
OKLCHoklch(62.13% 0.209 303.4)
XYZxyz(33.7194, 21.3339, 80.9226)
Luminance0.2133 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A25CEB #A5EB5C
analogous
#5C5EEB #A25CEB #EA5CEB
triadic
#A25CEB #EBA25C #5CEBA2
tetradic
#A25CEB #EB5C5E #A5EB5C #5CEBEA
square
#A25CEB #EB5C5E #A5EB5C #5CEBEA
split-complementary
#A25CEB #EBEA5C #5EEB5C
monochromatic
#6516B6 #8325E4 #A25CEB #C193F2 #E0C9F8

Accessibility & contrast

On white

3.99
#A25CEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.27
#A25CEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A25CEB
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A25CEB#FFFFFF#000000##000000
##A25CEB1.003.995.275.27
#FFFFFF3.991.0021.0021.00
#0000005.2721.001.001.00
##0000005.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#007EF0
Deuteranopia (green-blind)
#357FE8
Tritanopia (blue-blind)
#947A9B
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #a25ceb;
/* rgb */ color: rgb(162, 92, 235);
/* oklch */ color: oklch(62.1% 0.209 303.4);
Tailwind
colors: {
  custom: {
    50: '#c28df2',
    500: '#a25ceb',
    950: '#000000',
  },
}
SCSS
$custom: #a25ceb;
$custom-light: #c28df2;
$custom-dark: #000000;
JSON
{
  "hex": "#a25ceb",
  "rgb": {
    "r": 162,
    "g": 92,
    "b": 235
  },
  "hsl": {
    "h": 269.371,
    "s": 78.142,
    "l": 64.118
  },
  "oklch": {
    "l": 0.62126,
    "c": 0.20918,
    "h": 303.4
  },
  "luminance": 0.21334
}

Semantic roles & 50–950 ramp

primary
#A25CEB
secondary
#D2EAB8
accent
#DA0B75
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C17
muted
#827D85

Preview Lab

Preview with #A25CEB

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

Preview Lab → · Contrast checker → · Palette generator →

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