#A24FDB#A24FDB

#A24FDB is a mid, highly saturated violet. Relative luminance 0.184; OKLCH L 59.4% C 0.210 H 308.6°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#A24FDB
RGBrgb(162, 79, 219)
HSLhsl(276, 66%, 58%)
HSVhsv(276, 64%, 86%)
CMYKcmyk(26%, 63.9%, 0%, 14.1%)
CIE-LABlab(49.96, 57.91, -58.01)
CIE-LCHlch(49.96, 81.97, 314.95°)
OKLaboklab(59.38% 0.1309 -0.1639)
OKLCHoklch(59.38% 0.21 308.6)
XYZxyz(30.4799, 18.3883, 68.9477)
Luminance0.1839 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A24FDB #88DB4F
analogous
#5C4FDB #A24FDB #DB4FCE
triadic
#A24FDB #DBA24F #4FDBA2
tetradic
#A24FDB #DB5C4F #88DB4F #4FCEDB
square
#A24FDB #DB5C4F #88DB4F #4FCEDB
split-complementary
#A24FDB #CEDB4F #4FDB5C
monochromatic
#631E92 #8528C5 #A24FDB #BD82E5 #D8B5F0

Accessibility & contrast

On white

4.49
#A24FDB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#A24FDB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A24FDB
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A24FDB#FFFFFF#000000##000000
##A24FDB1.004.494.684.68
#FFFFFF4.491.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0074DF
Deuteranopia (green-blind)
#3778D8
Tritanopia (blue-blind)
#9A6C8E
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #a24fdb;
/* rgb */ color: rgb(162, 79, 219);
/* oklch */ color: oklch(59.4% 0.210 308.6);
Tailwind
colors: {
  custom: {
    50: '#c285e7',
    500: '#a24fdb',
    950: '#000000',
  },
}
SCSS
$custom: #a24fdb;
$custom-light: #c285e7;
$custom-dark: #000000;
JSON
{
  "hex": "#a24fdb",
  "rgb": {
    "r": 162,
    "g": 79,
    "b": 219
  },
  "hsl": {
    "h": 275.571,
    "s": 66.038,
    "l": 58.431
  },
  "oklch": {
    "l": 0.59381,
    "c": 0.20975,
    "h": 308.6
  },
  "luminance": 0.18388
}

Semantic roles & 50–950 ramp

primary
#A24FDB
secondary
#BEDFA7
accent
#E93F84
background
#FCF8FE
surface
#F8F0FC
border
#D1CBD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #A24FDB

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

Preview Lab → · Contrast checker → · Palette generator →

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