#A25BF2#A25BF2

#A25BF2 is a light, highly saturated violet. Relative luminance 0.216; OKLCH L 62.5% C 0.218 H 302.1°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#A25BF2
RGBrgb(162, 91, 242)
HSLhsl(268, 85%, 65%)
HSVhsv(268, 62%, 95%)
CMYKcmyk(33.1%, 62.4%, 0%, 5.1%)
CIE-LABlab(53.57, 57.35, -65.15)
CIE-LCHlch(53.57, 86.80, 311.36°)
OKLaboklab(62.46% 0.1159 -0.1849)
OKLCHoklch(62.46% 0.218 302.1)
XYZxyz(34.6646, 21.5743, 86.3252)
Luminance0.2157 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A25BF2 #ABF25B
analogous
#5B5FF2 #A25BF2 #EE5BF2
triadic
#A25BF2 #F2A25B #5BF2A2
tetradic
#A25BF2 #F25B5F #ABF25B #5BF2EE
square
#A25BF2 #F25B5F #ABF25B #5BF2EE
split-complementary
#A25BF2 #F2EE5B #5FF25B
monochromatic
#640FC3 #8222EE #A25BF2 #C294F6 #E2CCFB

Accessibility & contrast

On white

3.95
#A25BF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.31
#A25BF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A25BF2
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A25BF2#FFFFFF#000000##000000
##A25BF21.003.955.315.31
#FFFFFF3.951.0021.0021.00
#0000005.3121.001.001.00
##0000005.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#007FF7
Deuteranopia (green-blind)
#277FEF
Tritanopia (blue-blind)
#927C9E
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #a25bf2;
/* rgb */ color: rgb(162, 91, 242);
/* oklch */ color: oklch(62.5% 0.218 302.1);
Tailwind
colors: {
  custom: {
    50: '#c28df7',
    500: '#a25bf2',
    950: '#000000',
  },
}
SCSS
$custom: #a25bf2;
$custom-light: #c28df7;
$custom-dark: #000000;
JSON
{
  "hex": "#a25bf2",
  "rgb": {
    "r": 162,
    "g": 91,
    "b": 242
  },
  "hsl": {
    "h": 268.212,
    "s": 85.311,
    "l": 65.294
  },
  "oklch": {
    "l": 0.62456,
    "c": 0.21823,
    "h": 302.1
  },
  "luminance": 0.21574
}

Semantic roles & 50–950 ramp

primary
#A25BF2
secondary
#D6EEBB
accent
#E20479
background
#FCF8FF
surface
#F8F0FF
border
#D1CBD7
text
#130C17
muted
#827D85

Preview Lab

Preview with #A25BF2

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

Preview Lab → · Contrast checker → · Palette generator →

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