#A25FCC#A25FCC

#A25FCC is a mid, vivid violet. Relative luminance 0.202; OKLCH L 60.7% C 0.170 H 310.7°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#A25FCC
RGBrgb(162, 95, 204)
HSLhsl(277, 52%, 59%)
HSVhsv(277, 53%, 80%)
CMYKcmyk(20.6%, 53.4%, 0%, 20%)
CIE-LABlab(52.09, 46.52, -46.06)
CIE-LCHlch(52.09, 65.46, 315.28°)
OKLaboklab(60.65% 0.1109 -0.129)
OKLCHoklch(60.65% 0.17 310.7)
XYZxyz(29.8896, 20.2260, 59.4445)
Luminance0.2023 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A25FCC #89CC5F
analogous
#6B5FCC #A25FCC #CC5FBF
triadic
#A25FCC #CCA25F #5FCCA2
tetradic
#A25FCC #CC6B5F #89CC5F #5FBFCC
square
#A25FCC #CC6B5F #89CC5F #5FBFCC
split-complementary
#A25FCC #BFCC5F #5FCC6B
monochromatic
#632B86 #8539B4 #A25FCC #BD8DDB #D8BCEA

Accessibility & contrast

On white

4.16
#A25FCC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#A25FCC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A25FCC
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A25FCC#FFFFFF#000000##000000
##A25FCC1.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4079D0
Deuteranopia (green-blind)
#567DC9
Tritanopia (blue-blind)
#9D728D
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #a25fcc;
/* rgb */ color: rgb(162, 95, 204);
/* oklch */ color: oklch(60.7% 0.170 310.7);
Tailwind
colors: {
  custom: {
    50: '#c08fdc',
    500: '#a25fcc',
    950: '#000000',
  },
}
SCSS
$custom: #a25fcc;
$custom-light: #c08fdc;
$custom-dark: #000000;
JSON
{
  "hex": "#a25fcc",
  "rgb": {
    "r": 162,
    "g": 95,
    "b": 204
  },
  "hsl": {
    "h": 276.881,
    "s": 51.659,
    "l": 58.627
  },
  "oklch": {
    "l": 0.60652,
    "c": 0.17012,
    "h": 310.7
  },
  "luminance": 0.20225
}

Semantic roles & 50–950 ramp

primary
#A25FCC
secondary
#BED9AE
accent
#DB4D84
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#120C15
muted
#817D83

Preview Lab

Preview with #A25FCC

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

Preview Lab → · Contrast checker → · Palette generator →

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