#A267F2#A267F2

#A267F2 is a light, highly saturated violet. Relative luminance 0.238; OKLCH L 64.1% C 0.202 H 300.4°. Best body text is #000000 at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#A267F2
RGBrgb(162, 103, 242)
HSLhsl(265, 84%, 68%)
HSVhsv(265, 57%, 95%)
CMYKcmyk(33.1%, 57.4%, 0%, 5.1%)
CIE-LABlab(55.88, 51.18, -61.44)
CIE-LCHlch(55.88, 79.96, 309.79°)
OKLaboklab(64.14% 0.102 -0.1741)
OKLCHoklch(64.14% 0.202 300.4)
XYZxyz(35.7737, 23.7924, 86.6949)
Luminance0.2379 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A267F2 #B7F267
analogous
#6771F2 #A267F2 #E867F2
triadic
#A267F2 #F2A267 #67F2A2
tetradic
#A267F2 #F26771 #B7F267 #67F2E8
square
#A267F2 #F26771 #B7F267 #67F2E8
split-complementary
#A267F2 #F2E867 #71F267
monochromatic
#6112CD #802FED #A267F2 #C49FF7 #E7D8FC

Accessibility & contrast

On white

3.65
#A267F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.76
#A267F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A267F2
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A267F2#FFFFFF#000000##000000
##A267F21.003.655.765.76
#FFFFFF3.651.0021.0021.00
#0000005.7621.001.001.00
##0000005.7621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a267f2;
/* rgb */ color: rgb(162, 103, 242);
/* oklch */ color: oklch(64.1% 0.202 300.4);
Tailwind
colors: {
  custom: {
    50: '#c295f7',
    500: '#a267f2',
    950: '#000000',
  },
}
SCSS
$custom: #a267f2;
$custom-light: #c295f7;
$custom-dark: #000000;
JSON
{
  "hex": "#a267f2",
  "rgb": {
    "r": 162,
    "g": 103,
    "b": 242
  },
  "hsl": {
    "h": 265.468,
    "s": 84.242,
    "l": 67.647
  },
  "oklch": {
    "l": 0.64136,
    "c": 0.20174,
    "h": 300.4
  },
  "luminance": 0.23793
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A267F2

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

Preview Lab → · Contrast checker → · Palette generator →

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