#8943F2#8943F2

#8943F2 is a mid, highly saturated violet. Relative luminance 0.157; OKLCH L 56.9% C 0.244 H 295.9°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#8943F2
RGBrgb(137, 67, 242)
HSLhsl(264, 87%, 61%)
HSVhsv(264, 72%, 95%)
CMYKcmyk(43.4%, 72.3%, 0%, 5.1%)
CIE-LABlab(46.64, 64.08, -76.55)
CIE-LCHlch(46.64, 99.83, 309.93°)
OKLaboklab(56.86% 0.1063 -0.2191)
OKLCHoklch(56.86% 0.244 295.9)
XYZxyz(28.3464, 15.7428, 85.5324)
Luminance0.1574 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8943F2 #ACF243
analogous
#4354F2 #8943F2 #E143F2
triadic
#8943F2 #F28943 #43F289
tetradic
#8943F2 #F24354 #ACF243 #43F2E1
square
#8943F2 #F24354 #ACF243 #43F2E1
split-complementary
#8943F2 #F2E143 #54F243
monochromatic
#4D0CAF #6610E8 #8943F2 #AD7CF6 #D1B5FA

Accessibility & contrast

On white

5.06
#8943F2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#8943F2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8943F2
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8943F2#FFFFFF#000000##FFFFFF
##8943F21.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070F7
Deuteranopia (green-blind)
#006CEF
Tritanopia (blue-blind)
#6C7197
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #8943f2;
/* rgb */ color: rgb(137, 67, 242);
/* oklch */ color: oklch(56.9% 0.244 295.9);
Tailwind
colors: {
  custom: {
    50: '#b47df8',
    500: '#8943f2',
    950: '#000000',
  },
}
SCSS
$custom: #8943f2;
$custom-light: #b47df8;
$custom-dark: #000000;
JSON
{
  "hex": "#8943f2",
  "rgb": {
    "r": 137,
    "g": 67,
    "b": 242
  },
  "hsl": {
    "h": 264,
    "s": 87.065,
    "l": 60.588
  },
  "oklch": {
    "l": 0.56864,
    "c": 0.24356,
    "h": 295.9
  },
  "luminance": 0.15743
}

Semantic roles & 50–950 ramp

primary
#8943F2
secondary
#CFEAA7
accent
#E40289
background
#FBF7FF
surface
#F6EEFF
border
#D0C9D7
text
#120A17
muted
#817C85

Preview Lab

Preview with #8943F2

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

Preview Lab → · Contrast checker → · Palette generator →

#8943F2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva