#A25FDB#A25FDB

#A25FDB is a mid, vivid violet. Relative luminance 0.210; OKLCH L 61.5% C 0.187 H 306.6°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#A25FDB
RGBrgb(162, 95, 219)
HSLhsl(272, 63%, 62%)
HSVhsv(272, 57%, 86%)
CMYKcmyk(26%, 56.6%, 0%, 14.1%)
CIE-LABlab(52.93, 49.92, -53.26)
CIE-LCHlch(52.93, 73.00, 313.14°)
OKLaboklab(61.54% 0.1116 -0.15)
OKLCHoklch(61.54% 0.187 306.6)
XYZxyz(31.7760, 20.9806, 69.3798)
Luminance0.2098 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A25FDB #98DB5F
analogous
#645FDB #A25FDB #DB5FD6
triadic
#A25FDB #DBA25F #5FDBA2
tetradic
#A25FDB #DB645F #98DB5F #5FD6DB
square
#A25FDB #DB645F #98DB5F #5FD6DB
split-complementary
#A25FDB #D6DB5F #5FDB64
monochromatic
#65239C #852ECE #A25FDB #BF91E6 #DCC3F1

Accessibility & contrast

On white

4.04
#A25FDB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.20
#A25FDB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A25FDB
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A25FDB#FFFFFF#000000##000000
##A25FDB1.004.045.205.20
#FFFFFF4.041.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#317CDF
Deuteranopia (green-blind)
#4B7FD8
Tritanopia (blue-blind)
#997694
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #a25fdb;
/* rgb */ color: rgb(162, 95, 219);
/* oklch */ color: oklch(61.5% 0.187 306.6);
Tailwind
colors: {
  custom: {
    50: '#c18fe7',
    500: '#a25fdb',
    950: '#000000',
  },
}
SCSS
$custom: #a25fdb;
$custom-light: #c18fe7;
$custom-dark: #000000;
JSON
{
  "hex": "#a25fdb",
  "rgb": {
    "r": 162,
    "g": 95,
    "b": 219
  },
  "hsl": {
    "h": 272.419,
    "s": 63.265,
    "l": 61.569
  },
  "oklch": {
    "l": 0.61537,
    "c": 0.18701,
    "h": 306.6
  },
  "luminance": 0.2098
}

Semantic roles & 50–950 ramp

primary
#A25FDB
secondary
#C9E2B4
accent
#CB1A6C
background
#FCF8FE
surface
#F8F0FC
border
#D1CBD5
text
#130D16
muted
#827D84

Preview Lab

Preview with #A25FDB

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

Preview Lab → · Contrast checker → · Palette generator →

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