#A25BCC#A25BCC

#A25BCC is a mid, vivid violet. Relative luminance 0.195; OKLCH L 60.1% C 0.176 H 311.2°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#A25BCC
RGBrgb(162, 91, 204)
HSLhsl(278, 53%, 58%)
HSVhsv(278, 55%, 80%)
CMYKcmyk(20.6%, 55.4%, 0%, 20%)
CIE-LABlab(51.29, 48.62, -47.33)
CIE-LCHlch(51.29, 67.85, 315.77°)
OKLaboklab(60.07% 0.1162 -0.1327)
OKLCHoklch(60.07% 0.176 311.2)
XYZxyz(29.5385, 19.5238, 59.3275)
Luminance0.1952 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A25BCC #85CC5B
analogous
#695BCC #A25BCC #CC5BBD
triadic
#A25BCC #CCA25B #5BCCA2
tetradic
#A25BCC #CC695B #85CC5B #5BBDCC
square
#A25BCC #CC695B #85CC5B #5BBDCC
split-complementary
#A25BCC #BDCC5B #5BCC69
monochromatic
#622984 #8537B2 #A25BCC #BC8ADB #D7B8E9

Accessibility & contrast

On white

4.28
#A25BCC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#A25BCC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A25BCC
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A25BCC#FFFFFF#000000##000000
##A25BCC1.004.284.904.90
#FFFFFF4.281.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3977D0
Deuteranopia (green-blind)
#527CC9
Tritanopia (blue-blind)
#9D6F8B
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #a25bcc;
/* rgb */ color: rgb(162, 91, 204);
/* oklch */ color: oklch(60.1% 0.176 311.2);
Tailwind
colors: {
  custom: {
    50: '#c08cdc',
    500: '#a25bcc',
    950: '#000000',
  },
}
SCSS
$custom: #a25bcc;
$custom-light: #c08cdc;
$custom-dark: #000000;
JSON
{
  "hex": "#a25bcc",
  "rgb": {
    "r": 162,
    "g": 91,
    "b": 204
  },
  "hsl": {
    "h": 277.699,
    "s": 52.558,
    "l": 57.843
  },
  "oklch": {
    "l": 0.60065,
    "c": 0.17637,
    "h": 311.2
  },
  "luminance": 0.19523
}

Semantic roles & 50–950 ramp

primary
#A25BCC
secondary
#BCD8AB
accent
#DC4C81
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130C15
muted
#827D83

Preview Lab

Preview with #A25BCC

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

Preview Lab → · Contrast checker → · Palette generator →

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