#A268F3#A268F3

#A268F3 is a light, highly saturated violet. Relative luminance 0.241; OKLCH L 64.3% C 0.201 H 300.0°. Best body text is #000000 at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#A268F3
RGBrgb(162, 104, 243)
HSLhsl(265, 85%, 68%)
HSVhsv(265, 57%, 95%)
CMYKcmyk(33.3%, 57.2%, 0%, 4.7%)
CIE-LABlab(56.14, 50.89, -61.58)
CIE-LCHlch(56.14, 79.89, 309.57°)
OKLaboklab(64.35% 0.1008 -0.1745)
OKLCHoklch(64.35% 0.201 300)
XYZxyz(36.0244, 24.0528, 87.5214)
Luminance0.2405 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A268F3 #B9F368
analogous
#6873F3 #A268F3 #E768F3
triadic
#A268F3 #F3A268 #68F3A2
tetradic
#A268F3 #F36873 #B9F368 #68F3E7
square
#A268F3 #F36873 #B9F368 #68F3E7
split-complementary
#A268F3 #F3E768 #73F368
monochromatic
#6011D0 #7F2FEE #A268F3 #C5A1F8 #E8D9FC

Accessibility & contrast

On white

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

On black

5.81
#A268F3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A268F3
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A268F3#FFFFFF#000000##000000
##A268F31.003.615.815.81
#FFFFFF3.611.0021.0021.00
#0000005.8121.001.001.00
##0000005.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#2386F8
Deuteranopia (green-blind)
#3E86F0
Tritanopia (blue-blind)
#9185A4
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #a268f3;
/* rgb */ color: rgb(162, 104, 243);
/* oklch */ color: oklch(64.3% 0.201 300.0);
Tailwind
colors: {
  custom: {
    50: '#c295f8',
    500: '#a268f3',
    950: '#000000',
  },
}
SCSS
$custom: #a268f3;
$custom-light: #c295f8;
$custom-dark: #000000;
JSON
{
  "hex": "#a268f3",
  "rgb": {
    "r": 162,
    "g": 104,
    "b": 243
  },
  "hsl": {
    "h": 265.036,
    "s": 85.276,
    "l": 68.039
  },
  "oklch": {
    "l": 0.64347,
    "c": 0.20149,
    "h": 300
  },
  "luminance": 0.24053
}

Semantic roles & 50–950 ramp

primary
#A268F3
secondary
#DFF1C6
accent
#E20485
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130D17
muted
#827E85

Preview Lab

Preview with #A268F3

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

Preview Lab → · Contrast checker → · Palette generator →

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