#A892F2#A892F2

#A892F2 is a light, vivid violet. Relative luminance 0.353; OKLCH L 71.8% C 0.138 H 293.1°. Best body text is #000000 at 8.06:1 contrast (WCAG AA passes).

Color values

HEX#A892F2
RGBrgb(168, 146, 242)
HSLhsl(254, 79%, 76%)
HSVhsv(254, 40%, 95%)
CMYKcmyk(30.6%, 39.7%, 0%, 5.1%)
CIE-LABlab(65.98, 28.85, -45.35)
CIE-LCHlch(65.98, 53.75, 302.46°)
OKLaboklab(71.81% 0.0542 -0.1269)
OKLCHoklch(71.81% 0.138 293.1)
XYZxyz(42.4503, 35.2927, 88.5628)
Luminance0.3529 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A892F2 #DCF292
analogous
#92ACF2 #A892F2 #D892F2
triadic
#A892F2 #F2A892 #92F2A8
tetradic
#A892F2 #F292AC #DCF292 #92F2D8
square
#A892F2 #F292AC #DCF292 #92F2D8
split-complementary
#A892F2 #F2D892 #ACF292
monochromatic
#5125E5 #7C5BEB #A892F2 #D4C9F9 #E9E4FC

Accessibility & contrast

On white

2.61
#A892F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.06
#A892F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A892F2
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A892F2#FFFFFF#000000##000000
##A892F21.002.618.068.06
#FFFFFF2.611.0021.0021.00
#0000008.0621.001.001.00
##0000008.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#76A2F6
Deuteranopia (green-blind)
#789FF0
Tritanopia (blue-blind)
#97A3B6
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #a892f2;
/* rgb */ color: rgb(168, 146, 242);
/* oklch */ color: oklch(71.8% 0.138 293.1);
Tailwind
colors: {
  custom: {
    50: '#c4b2f7',
    500: '#a892f2',
    950: '#000000',
  },
}
SCSS
$custom: #a892f2;
$custom-light: #c4b2f7;
$custom-dark: #000000;
JSON
{
  "hex": "#a892f2",
  "rgb": {
    "r": 168,
    "g": 146,
    "b": 242
  },
  "hsl": {
    "h": 253.75,
    "s": 78.689,
    "l": 76.078
  },
  "oklch": {
    "l": 0.7181,
    "c": 0.13803,
    "h": 293.1
  },
  "luminance": 0.35293
}

Semantic roles & 50–950 ramp

primary
#A892F2
secondary
#EDF4D7
accent
#DB0BAB
background
#FCFAFF
surface
#F8F5FE
border
#D1CFD6
text
#131117
muted
#828085

Preview Lab

Preview with #A892F2

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

Preview Lab → · Contrast checker → · Palette generator →

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