#A368F2#A368F2

#A368F2 is a light, highly saturated violet. Relative luminance 0.241; OKLCH L 64.4% C 0.200 H 300.6°. Best body text is #000000 at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#A368F2
RGBrgb(163, 104, 242)
HSLhsl(266, 84%, 68%)
HSVhsv(266, 57%, 95%)
CMYKcmyk(32.6%, 57%, 0%, 5.1%)
CIE-LABlab(56.19, 50.88, -60.94)
CIE-LCHlch(56.19, 79.39, 309.86°)
OKLaboklab(64.38% 0.1021 -0.1726)
OKLCHoklch(64.38% 0.2 300.6)
XYZxyz(36.0778, 24.0978, 86.7378)
Luminance0.2410 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A368F2 #B7F268
analogous
#6872F2 #A368F2 #E868F2
triadic
#A368F2 #F2A368 #68F2A3
tetradic
#A368F2 #F26872 #B7F268 #68F2E8
square
#A368F2 #F26872 #B7F268 #68F2E8
split-complementary
#A368F2 #F2E868 #72F268
monochromatic
#6212CE #8130ED #A368F2 #C5A0F7 #E8D9FC

Accessibility & contrast

On white

3.61
#A368F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.82
#A368F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A368F2
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A368F2#FFFFFF#000000##000000
##A368F21.003.615.825.82
#FFFFFF3.611.0021.0021.00
#0000005.8221.001.001.00
##0000005.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#2686F7
Deuteranopia (green-blind)
#4086EF
Tritanopia (blue-blind)
#9384A3
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #a368f2;
/* rgb */ color: rgb(163, 104, 242);
/* oklch */ color: oklch(64.4% 0.200 300.6);
Tailwind
colors: {
  custom: {
    50: '#c295f7',
    500: '#a368f2',
    950: '#000000',
  },
}
SCSS
$custom: #a368f2;
$custom-light: #c295f7;
$custom-dark: #000000;
JSON
{
  "hex": "#a368f2",
  "rgb": {
    "r": 163,
    "g": 104,
    "b": 242
  },
  "hsl": {
    "h": 265.652,
    "s": 84.146,
    "l": 67.843
  },
  "oklch": {
    "l": 0.64384,
    "c": 0.20049,
    "h": 300.6
  },
  "luminance": 0.24098
}

Semantic roles & 50–950 ramp

primary
#A368F2
secondary
#DEF0C6
accent
#E10583
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130D17
muted
#827E85

Preview Lab

Preview with #A368F2

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

Preview Lab → · Contrast checker → · Palette generator →

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