#A438FF#A438FF

#A438FF is a mid, highly saturated violet. Relative luminance 0.179; OKLCH L 59.9% C 0.270 H 303.4°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#A438FF
RGBrgb(164, 56, 255)
HSLhsl(273, 100%, 61%)
HSVhsv(273, 78%, 100%)
CMYKcmyk(35.7%, 78%, 0%, 0%)
CIE-LABlab(49.42, 75.59, -79.12)
CIE-LCHlch(49.42, 109.43, 313.69°)
OKLaboklab(59.85% 0.149 -0.2257)
OKLCHoklch(59.85% 0.27 303.4)
XYZxyz(34.7698, 17.9409, 96.2195)
Luminance0.1794 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A438FF #93FF38
analogous
#4038FF #A438FF #FF38F6
triadic
#A438FF #FFA438 #38FFA4
tetradic
#A438FF #FF4038 #93FF38 #38F6FF
square
#A438FF #FF4038 #93FF38 #38F6FF
split-complementary
#A438FF #F6FF38 #38FF40
monochromatic
#6600BD #8800FA #A438FF #C075FF #DCB2FF

Accessibility & contrast

On white

4.58
#A438FF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#A438FF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A438FF
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A438FF#FFFFFF#000000##000000
##A438FF1.004.584.594.59
#FFFFFF4.581.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0073FF
Deuteranopia (green-blind)
#0075FB
Tritanopia (blue-blind)
#916E9C
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #a438ff;
/* rgb */ color: rgb(164, 56, 255);
/* oklch */ color: oklch(59.9% 0.270 303.4);
Tailwind
colors: {
  custom: {
    50: '#c67bff',
    500: '#a438ff',
    950: '#000000',
  },
}
SCSS
$custom: #a438ff;
$custom-light: #c67bff;
$custom-dark: #000000;
JSON
{
  "hex": "#a438ff",
  "rgb": {
    "r": 164,
    "g": 56,
    "b": 255
  },
  "hsl": {
    "h": 272.563,
    "s": 100,
    "l": 60.98
  },
  "oklch": {
    "l": 0.59851,
    "c": 0.27048,
    "h": 303.4
  },
  "luminance": 0.17941
}

Semantic roles & 50–950 ramp

primary
#A438FF
secondary
#C6EFA4
accent
#E60069
background
#FCF8FF
surface
#F9EFFF
border
#D2CAD7
text
#140A18
muted
#827C86

Preview Lab

Preview with #A438FF

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

Preview Lab → · Contrast checker → · Palette generator →

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