#8A72F2#8A72F2

#8A72F2 is a light, vivid violet. Relative luminance 0.238; OKLCH L 63.6% C 0.185 H 288.7°. Best body text is #000000 at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#8A72F2
RGBrgb(138, 114, 242)
HSLhsl(251, 83%, 70%)
HSVhsv(251, 53%, 95%)
CMYKcmyk(43%, 52.9%, 0%, 5.1%)
CIE-LABlab(55.93, 39.65, -61.47)
CIE-LCHlch(55.93, 73.15, 302.82°)
OKLaboklab(63.64% 0.059 -0.1748)
OKLCHoklch(63.64% 0.185 288.7)
XYZxyz(32.5210, 23.8475, 86.8767)
Luminance0.2385 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A72F2 #DAF272
analogous
#729AF2 #8A72F2 #CA72F2
triadic
#8A72F2 #F28A72 #72F28A
tetradic
#8A72F2 #F2729A #DAF272 #72F2CA
square
#8A72F2 #F2729A #DAF272 #72F2CA
split-complementary
#8A72F2 #F2CA72 #9AF272
monochromatic
#3814D6 #5C3AED #8A72F2 #B8AAF7 #E7E2FC

Accessibility & contrast

On white

3.64
#8A72F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.77
#8A72F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A72F2
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A72F2#FFFFFF#000000##000000
##8A72F21.003.645.775.77
#FFFFFF3.641.0021.0021.00
#0000005.7721.001.001.00
##0000005.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3489F6
Deuteranopia (green-blind)
#3583EF
Tritanopia (blue-blind)
#6B8DA7
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #8a72f2;
/* rgb */ color: rgb(138, 114, 242);
/* oklch */ color: oklch(63.6% 0.185 288.7);
Tailwind
colors: {
  custom: {
    50: '#b29bf7',
    500: '#8a72f2',
    950: '#000000',
  },
}
SCSS
$custom: #8a72f2;
$custom-light: #b29bf7;
$custom-dark: #000000;
JSON
{
  "hex": "#8a72f2",
  "rgb": {
    "r": 138,
    "g": 114,
    "b": 242
  },
  "hsl": {
    "h": 251.25,
    "s": 83.117,
    "l": 69.804
  },
  "oklch": {
    "l": 0.63638,
    "c": 0.18455,
    "h": 288.7
  },
  "luminance": 0.23849
}

Semantic roles & 50–950 ramp

primary
#8A72F2
secondary
#EBF2CE
accent
#E006B7
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110E17
muted
#807E85

Preview Lab

Preview with #8A72F2

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

Preview Lab → · Contrast checker → · Palette generator →

#8A72F2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva