#A370FC#A370FC

#A370FC is a light, highly saturated violet. Relative luminance 0.264; OKLCH L 66.2% C 0.201 H 297.4°. Best body text is #000000 at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#A370FC
RGBrgb(163, 112, 252)
HSLhsl(262, 96%, 71%)
HSVhsv(262, 56%, 99%)
CMYKcmyk(35.3%, 55.6%, 0%, 1.2%)
CIE-LABlab(58.42, 49.07, -62.90)
CIE-LCHlch(58.42, 79.78, 307.96°)
OKLaboklab(66.22% 0.0926 -0.1783)
OKLCHoklch(66.22% 0.201 297.4)
XYZxyz(38.4647, 26.4026, 95.1463)
Luminance0.2640 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A370FC #C9FC70
analogous
#7083FC #A370FC #E970FC
triadic
#A370FC #FCA370 #70FCA3
tetradic
#A370FC #FC7083 #C9FC70 #70FCE9
square
#A370FC #FC7083 #C9FC70 #70FCE9
split-complementary
#A370FC #FCE970 #83FC70
monochromatic
#5905ED #7C34FB #A370FC #CAACFD #ECE1FE

Accessibility & contrast

On white

3.34
#A370FC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.28
#A370FC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A370FC
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A370FC#FFFFFF#000000##000000
##A370FC1.003.346.286.28
#FFFFFF3.341.0021.0021.00
#0000006.2821.001.001.00
##0000006.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#2E8DFF
Deuteranopia (green-blind)
#418BF9
Tritanopia (blue-blind)
#8F8DAB
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #a370fc;
/* rgb */ color: rgb(163, 112, 252);
/* oklch */ color: oklch(66.2% 0.201 297.4);
Tailwind
colors: {
  custom: {
    50: '#c39bfe',
    500: '#a370fc',
    950: '#000000',
  },
}
SCSS
$custom: #a370fc;
$custom-light: #c39bfe;
$custom-dark: #000000;
JSON
{
  "hex": "#a370fc",
  "rgb": {
    "r": 163,
    "g": 112,
    "b": 252
  },
  "hsl": {
    "h": 261.857,
    "s": 95.89,
    "l": 71.373
  },
  "oklch": {
    "l": 0.66215,
    "c": 0.20092,
    "h": 297.4
  },
  "luminance": 0.26403
}

Semantic roles & 50–950 ramp

primary
#A370FC
secondary
#E9F6D2
accent
#E60092
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E18
muted
#827E86

Preview Lab

Preview with #A370FC

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

Preview Lab → · Contrast checker → · Palette generator →

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