#A370FB#A370FB

#A370FB is a light, vivid violet. Relative luminance 0.263; OKLCH L 66.2% C 0.200 H 297.6°. Best body text is #000000 at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#A370FB
RGBrgb(163, 112, 251)
HSLhsl(262, 95%, 71%)
HSVhsv(262, 55%, 98%)
CMYKcmyk(35.1%, 55.4%, 0%, 1.6%)
CIE-LABlab(58.36, 48.82, -62.45)
CIE-LCHlch(58.36, 79.27, 308.02°)
OKLaboklab(66.15% 0.0925 -0.177)
OKLCHoklch(66.15% 0.2 297.6)
XYZxyz(38.3067, 26.3394, 94.3139)
Luminance0.2634 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A370FB #C8FB70
analogous
#7082FB #A370FB #E870FB
triadic
#A370FB #FBA370 #70FBA3
tetradic
#A370FB #FB7082 #C8FB70 #70FBE8
square
#A370FB #FB7082 #C8FB70 #70FBE8
split-complementary
#A370FB #FBE870 #82FB70
monochromatic
#5A07EA #7D34F9 #A370FB #C9ACFD #ECE1FE

Accessibility & contrast

On white

3.35
#A370FB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.27
#A370FB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A370FB
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A370FB#FFFFFF#000000##000000
##A370FB1.003.356.276.27
#FFFFFF3.351.0021.0021.00
#0000006.2721.001.001.00
##0000006.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#2F8DFF
Deuteranopia (green-blind)
#428BF8
Tritanopia (blue-blind)
#8F8DAB
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #a370fb;
/* rgb */ color: rgb(163, 112, 251);
/* oklch */ color: oklch(66.2% 0.200 297.6);
Tailwind
colors: {
  custom: {
    50: '#c39bfd',
    500: '#a370fb',
    950: '#000000',
  },
}
SCSS
$custom: #a370fb;
$custom-light: #c39bfd;
$custom-dark: #000000;
JSON
{
  "hex": "#a370fb",
  "rgb": {
    "r": 163,
    "g": 112,
    "b": 251
  },
  "hsl": {
    "h": 262.014,
    "s": 94.558,
    "l": 71.176
  },
  "oklch": {
    "l": 0.66152,
    "c": 0.19973,
    "h": 297.6
  },
  "luminance": 0.2634
}

Semantic roles & 50–950 ramp

primary
#A370FB
secondary
#E8F6D1
accent
#E60091
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E18
muted
#827E86

Preview Lab

Preview with #A370FB

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

Preview Lab → · Contrast checker → · Palette generator →

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