#A335F6#A335F6

#A335F6 is a mid, highly saturated violet. Relative luminance 0.170; OKLCH L 58.8% C 0.265 H 305.1°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#A335F6
RGBrgb(163, 53, 246)
HSLhsl(274, 91%, 59%)
HSVhsv(274, 78%, 96%)
CMYKcmyk(33.7%, 78.5%, 0%, 3.5%)
CIE-LABlab(48.24, 74.54, -76.03)
CIE-LCHlch(48.24, 106.48, 314.43°)
OKLaboklab(58.78% 0.1522 -0.2167)
OKLCHoklch(58.78% 0.265 305.1)
XYZxyz(33.0081, 16.9868, 88.7107)
Luminance0.1699 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A335F6 #88F635
analogous
#4235F6 #A335F6 #F635E8
triadic
#A335F6 #F6A335 #35F6A3
tetradic
#A335F6 #F64235 #88F635 #35E8F6
square
#A335F6 #F64235 #88F635 #35E8F6
split-complementary
#A335F6 #E8F635 #35F642
monochromatic
#6408A9 #860AE4 #A335F6 #BE70F9 #D8AAFB

Accessibility & contrast

On white

4.78
#A335F6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#A335F6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A335F6
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A335F6#FFFFFF#000000##FFFFFF
##A335F61.004.784.404.78
#FFFFFF4.781.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070FB
Deuteranopia (green-blind)
#0073F2
Tritanopia (blue-blind)
#936996
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #a335f6;
/* rgb */ color: rgb(163, 53, 246);
/* oklch */ color: oklch(58.8% 0.265 305.1);
Tailwind
colors: {
  custom: {
    50: '#c579fa',
    500: '#a335f6',
    950: '#000000',
  },
}
SCSS
$custom: #a335f6;
$custom-light: #c579fa;
$custom-dark: #000000;
JSON
{
  "hex": "#a335f6",
  "rgb": {
    "r": 163,
    "g": 53,
    "b": 246
  },
  "hsl": {
    "h": 274.197,
    "s": 91.469,
    "l": 58.627
  },
  "oklch": {
    "l": 0.58783,
    "c": 0.26476,
    "h": 305.1
  },
  "luminance": 0.16987
}

Semantic roles & 50–950 ramp

primary
#A335F6
secondary
#BEEA9D
accent
#FF2985
background
#FCF7FF
surface
#F9EEFF
border
#D2C9D7
text
#140A18
muted
#827C86

Preview Lab

Preview with #A335F6

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

Preview Lab → · Contrast checker → · Palette generator →

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