#A767F2#A767F2

#A767F2 is a light, highly saturated violet. Relative luminance 0.243; OKLCH L 64.6% C 0.203 H 302.3°. Best body text is #000000 at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#A767F2
RGBrgb(167, 103, 242)
HSLhsl(268, 84%, 68%)
HSVhsv(268, 57%, 95%)
CMYKcmyk(31%, 57.4%, 0%, 5.1%)
CIE-LABlab(56.41, 52.33, -60.55)
CIE-LCHlch(56.41, 80.03, 310.83°)
OKLaboklab(64.65% 0.1083 -0.1713)
OKLCHoklch(64.65% 0.203 302.3)
XYZxyz(36.8099, 24.3267, 86.7435)
Luminance0.2433 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A767F2 #B2F267
analogous
#676CF2 #A767F2 #EC67F2
triadic
#A767F2 #F2A767 #67F2A7
tetradic
#A767F2 #F2676C #B2F267 #67F2EC
square
#A767F2 #F2676C #B2F267 #67F2EC
split-complementary
#A767F2 #F2EC67 #6CF267
monochromatic
#6812CD #862FED #A767F2 #C89FF7 #E8D8FC

Accessibility & contrast

On white

3.58
#A767F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.87
#A767F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A767F2
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A767F2#FFFFFF#000000##000000
##A767F21.003.585.875.87
#FFFFFF3.581.0021.0021.00
#0000005.8721.001.001.00
##0000005.8721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a767f2;
/* rgb */ color: rgb(167, 103, 242);
/* oklch */ color: oklch(64.6% 0.203 302.3);
Tailwind
colors: {
  custom: {
    50: '#c595f7',
    500: '#a767f2',
    950: '#000000',
  },
}
SCSS
$custom: #a767f2;
$custom-light: #c595f7;
$custom-dark: #000000;
JSON
{
  "hex": "#a767f2",
  "rgb": {
    "r": 167,
    "g": 103,
    "b": 242
  },
  "hsl": {
    "h": 267.626,
    "s": 84.242,
    "l": 67.647
  },
  "oklch": {
    "l": 0.64648,
    "c": 0.20267,
    "h": 302.3
  },
  "luminance": 0.24327
}

Semantic roles & 50–950 ramp

primary
#A767F2
secondary
#DCF0C5
accent
#E1057B
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130D17
muted
#827E85

Preview Lab

Preview with #A767F2

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

Preview Lab → · Contrast checker → · Palette generator →

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