#A62FDF#A62FDF

#A62FDF is a mid, highly saturated purple. Relative luminance 0.155; OKLCH L 57.0% C 0.251 H 311.5°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#A62FDF
RGBrgb(166, 47, 223)
HSLhsl(281, 73%, 53%)
HSVhsv(281, 79%, 87%)
CMYKcmyk(25.6%, 78.9%, 0%, 12.5%)
CIE-LABlab(46.27, 72.25, -66.23)
CIE-LCHlch(46.27, 98.02, 317.49°)
OKLaboklab(56.95% 0.1659 -0.1877)
OKLCHoklch(56.95% 0.251 311.5)
XYZxyz(30.0592, 15.4685, 71.2000)
Luminance0.1547 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A62FDF #68DF2F
analogous
#4E2FDF #A62FDF #DF2FC0
triadic
#A62FDF #DFA62F #2FDFA6
tetradic
#A62FDF #DF4E2F #68DF2F #2FC0DF
square
#A62FDF #DF4E2F #68DF2F #2FC0DF
split-complementary
#A62FDF #C0DF2F #2FDF4E
monochromatic
#5D1480 #831CB5 #A62FDF #BD64E7 #D399EF

Accessibility & contrast

On white

5.13
#A62FDF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#A62FDF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A62FDF
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A62FDF#FFFFFF#000000##FFFFFF
##A62FDF1.005.134.095.13
#FFFFFF5.131.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068E4
Deuteranopia (green-blind)
#0070DB
Tritanopia (blue-blind)
#9F5B88
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #a62fdf;
/* rgb */ color: rgb(166, 47, 223);
/* oklch */ color: oklch(57.0% 0.251 311.5);
Tailwind
colors: {
  custom: {
    50: '#c676ea',
    500: '#a62fdf',
    950: '#000000',
  },
}
SCSS
$custom: #a62fdf;
$custom-light: #c676ea;
$custom-dark: #000000;
JSON
{
  "hex": "#a62fdf",
  "rgb": {
    "r": 166,
    "g": 47,
    "b": 223
  },
  "hsl": {
    "h": 280.568,
    "s": 73.333,
    "l": 52.941
  },
  "oklch": {
    "l": 0.56952,
    "c": 0.25056,
    "h": 311.5
  },
  "luminance": 0.15468
}

Semantic roles & 50–950 ramp

primary
#A62FDF
secondary
#A8DB8F
accent
#F03873
background
#FCF7FE
surface
#F9EEFD
border
#D2C9D5
text
#140A16
muted
#827C84

Preview Lab

Preview with #A62FDF

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

Preview Lab → · Contrast checker → · Palette generator →

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