#A25FCB#A25FCB

#A25FCB is a mid, vivid violet. Relative luminance 0.202; OKLCH L 60.6% C 0.169 H 311.0°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#A25FCB
RGBrgb(162, 95, 203)
HSLhsl(277, 51%, 58%)
HSVhsv(277, 53%, 80%)
CMYKcmyk(20.2%, 53.2%, 0%, 20.4%)
CIE-LABlab(52.04, 46.29, -45.57)
CIE-LCHlch(52.04, 64.96, 315.45°)
OKLaboklab(60.6% 0.1108 -0.1276)
OKLCHoklch(60.6% 0.169 311)
XYZxyz(29.7700, 20.1782, 58.8149)
Luminance0.2018 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A25FCB #88CB5F
analogous
#6C5FCB #A25FCB #CB5FBE
triadic
#A25FCB #CBA25F #5FCBA2
tetradic
#A25FCB #CB6C5F #88CB5F #5FBECB
square
#A25FCB #CB6C5F #88CB5F #5FBECB
split-complementary
#A25FCB #BECB5F #5FCB6C
monochromatic
#632B85 #853AB3 #A25FCB #BD8DDA #D8BBE9

Accessibility & contrast

On white

4.17
#A25FCB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#A25FCB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A25FCB
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A25FCB#FFFFFF#000000##000000
##A25FCB1.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a25fcb;
/* rgb */ color: rgb(162, 95, 203);
/* oklch */ color: oklch(60.6% 0.169 311.0);
Tailwind
colors: {
  custom: {
    50: '#c08fdb',
    500: '#a25fcb',
    950: '#000000',
  },
}
SCSS
$custom: #a25fcb;
$custom-light: #c08fdb;
$custom-dark: #000000;
JSON
{
  "hex": "#a25fcb",
  "rgb": {
    "r": 162,
    "g": 95,
    "b": 203
  },
  "hsl": {
    "h": 277.222,
    "s": 50.943,
    "l": 58.431
  },
  "oklch": {
    "l": 0.60595,
    "c": 0.169,
    "h": 311
  },
  "luminance": 0.20178
}

Semantic roles & 50–950 ramp

primary
#A25FCB
secondary
#BED8AD
accent
#DA4D83
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#120C15
muted
#817D83

Preview Lab

Preview with #A25FCB

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

Preview Lab → · Contrast checker → · Palette generator →

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