#A670F4#A670F4

#A670F4 is a light, vivid violet. Relative luminance 0.262; OKLCH L 66.0% C 0.192 H 300.1°. Best body text is #000000 at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#A670F4
RGBrgb(166, 112, 244)
HSLhsl(265, 86%, 70%)
HSVhsv(265, 54%, 96%)
CMYKcmyk(32%, 54.1%, 0%, 4.3%)
CIE-LABlab(58.25, 47.79, -58.73)
CIE-LCHlch(58.25, 75.72, 309.14°)
OKLaboklab(66.01% 0.0961 -0.166)
OKLCHoklch(66.01% 0.192 300.1)
XYZxyz(37.8453, 26.2267, 88.6388)
Luminance0.2623 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A670F4 #BEF470
analogous
#707CF4 #A670F4 #E870F4
triadic
#A670F4 #F4A670 #70F4A6
tetradic
#A670F4 #F4707C #BEF470 #70F4E8
square
#A670F4 #F4707C #BEF470 #70F4E8
split-complementary
#A670F4 #F4E870 #7CF470
monochromatic
#6311D9 #8337F0 #A670F4 #C9A9F8 #EDE2FD

Accessibility & contrast

On white

3.36
#A670F4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.25
#A670F4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A670F4
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A670F4#FFFFFF#000000##000000
##A670F41.003.366.256.25
#FFFFFF3.361.0021.0021.00
#0000006.2521.001.001.00
##0000006.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B8CF8
Deuteranopia (green-blind)
#4D8BF1
Tritanopia (blue-blind)
#968AA7
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #a670f4;
/* rgb */ color: rgb(166, 112, 244);
/* oklch */ color: oklch(66.0% 0.192 300.1);
Tailwind
colors: {
  custom: {
    50: '#c49bf8',
    500: '#a670f4',
    950: '#000000',
  },
}
SCSS
$custom: #a670f4;
$custom-light: #c49bf8;
$custom-dark: #000000;
JSON
{
  "hex": "#a670f4",
  "rgb": {
    "r": 166,
    "g": 112,
    "b": 244
  },
  "hsl": {
    "h": 264.545,
    "s": 85.714,
    "l": 69.804
  },
  "oklch": {
    "l": 0.66013,
    "c": 0.1918,
    "h": 300.1
  },
  "luminance": 0.26227
}

Semantic roles & 50–950 ramp

primary
#A670F4
secondary
#E3F3CD
accent
#E20387
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E17
muted
#827E85

Preview Lab

Preview with #A670F4

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

Preview Lab → · Contrast checker → · Palette generator →

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