#A268F2#A268F2

#A268F2 is a light, highly saturated violet. Relative luminance 0.240; OKLCH L 64.3% C 0.200 H 300.2°. Best body text is #000000 at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#A268F2
RGBrgb(162, 104, 242)
HSLhsl(265, 84%, 68%)
HSVhsv(265, 57%, 95%)
CMYKcmyk(33.1%, 57%, 0%, 5.1%)
CIE-LABlab(56.08, 50.65, -61.12)
CIE-LCHlch(56.08, 79.38, 309.65°)
OKLaboklab(64.28% 0.1008 -0.1731)
OKLCHoklch(64.28% 0.2 300.2)
XYZxyz(35.8738, 23.9926, 86.7282)
Luminance0.2399 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A268F2 #B8F268
analogous
#6873F2 #A268F2 #E768F2
triadic
#A268F2 #F2A268 #68F2A2
tetradic
#A268F2 #F26873 #B8F268 #68F2E7
square
#A268F2 #F26873 #B8F268 #68F2E7
split-complementary
#A268F2 #F2E768 #73F268
monochromatic
#6112CE #7F30ED #A268F2 #C5A0F7 #E7D9FC

Accessibility & contrast

On white

3.62
#A268F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.80
#A268F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A268F2
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A268F2#FFFFFF#000000##000000
##A268F21.003.625.805.80
#FFFFFF3.621.0021.0021.00
#0000005.8021.001.001.00
##0000005.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#2586F7
Deuteranopia (green-blind)
#3F85EF
Tritanopia (blue-blind)
#9184A3
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #a268f2;
/* rgb */ color: rgb(162, 104, 242);
/* oklch */ color: oklch(64.3% 0.200 300.2);
Tailwind
colors: {
  custom: {
    50: '#c295f7',
    500: '#a268f2',
    950: '#000000',
  },
}
SCSS
$custom: #a268f2;
$custom-light: #c295f7;
$custom-dark: #000000;
JSON
{
  "hex": "#a268f2",
  "rgb": {
    "r": 162,
    "g": 104,
    "b": 242
  },
  "hsl": {
    "h": 265.217,
    "s": 84.146,
    "l": 67.843
  },
  "oklch": {
    "l": 0.64283,
    "c": 0.20032,
    "h": 300.2
  },
  "luminance": 0.23993
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A268F2

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

Preview Lab → · Contrast checker → · Palette generator →

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