#8945DF#8945DF

#8945DF is a mid, highly saturated violet. Relative luminance 0.149; OKLCH L 55.6% C 0.221 H 299.2°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#8945DF
RGBrgb(137, 69, 223)
HSLhsl(266, 71%, 57%)
HSVhsv(266, 69%, 87%)
CMYKcmyk(38.6%, 69.1%, 0%, 12.5%)
CIE-LABlab(45.50, 58.49, -67.66)
CIE-LCHlch(45.50, 89.43, 310.84°)
OKLaboklab(55.6% 0.1081 -0.193)
OKLCHoklch(55.6% 0.221 299.2)
XYZxyz(25.7606, 14.9020, 71.3169)
Luminance0.1490 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8945DF #9BDF45
analogous
#454EDF #8945DF #D645DF
triadic
#8945DF #DF8945 #45DF89
tetradic
#8945DF #DF454E #9BDF45 #45DFD6
square
#8945DF #DF454E #9BDF45 #45DFD6
split-complementary
#8945DF #DFD645 #4EDF45
monochromatic
#4E1991 #6A22C5 #8945DF #AA79E8 #CBADF1

Accessibility & contrast

On white

5.28
#8945DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#8945DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8945DF
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8945DF#FFFFFF#000000##FFFFFF
##8945DF1.005.283.985.28
#FFFFFF5.281.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CE4
Deuteranopia (green-blind)
#006ADC
Tritanopia (blue-blind)
#756A8D
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #8945df;
/* rgb */ color: rgb(137, 69, 223);
/* oklch */ color: oklch(55.6% 0.221 299.2);
Tailwind
colors: {
  custom: {
    50: '#b27eea',
    500: '#8945df',
    950: '#000000',
  },
}
SCSS
$custom: #8945df;
$custom-light: #b27eea;
$custom-dark: #000000;
JSON
{
  "hex": "#8945df",
  "rgb": {
    "r": 137,
    "g": 69,
    "b": 223
  },
  "hsl": {
    "h": 266.494,
    "s": 70.642,
    "l": 57.255
  },
  "oklch": {
    "l": 0.55604,
    "c": 0.22122,
    "h": 299.2
  },
  "luminance": 0.14902
}

Semantic roles & 50–950 ramp

primary
#8945DF
secondary
#C4DFA1
accent
#ED3A9E
background
#FBF7FE
surface
#F6EEFD
border
#D0C9D5
text
#120A16
muted
#817C84

Preview Lab

Preview with #8945DF

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

Preview Lab → · Contrast checker → · Palette generator →

#8945DF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva