#8935CF#8935CF

#8935CF is a mid, highly saturated violet. Relative luminance 0.124; OKLCH L 52.6% C 0.223 H 304.5°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#8935CF
RGBrgb(137, 53, 207)
HSLhsl(273, 62%, 51%)
HSVhsv(273, 74%, 81%)
CMYKcmyk(33.8%, 74.4%, 0%, 18.8%)
CIE-LABlab(41.80, 61.77, -64.50)
CIE-LCHlch(41.80, 89.31, 313.76°)
OKLaboklab(52.6% 0.1261 -0.1837)
OKLCHoklch(52.6% 0.223 304.5)
XYZxyz(22.8495, 12.3697, 60.2032)
Luminance0.1237 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8935CF #7BCF35
analogous
#3C35CF #8935CF #CF35C8
triadic
#8935CF #CF8935 #35CF89
tetradic
#8935CF #CF3C35 #7BCF35 #35C8CF
square
#8935CF #CF3C35 #7BCF35 #35C8CF
split-complementary
#8935CF #C8CF35 #35CF3C
monochromatic
#491A6F #6926A1 #8935CF #A666DB #C398E7

Accessibility & contrast

On white

6.04
#8935CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#8935CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8935CF
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8935CF#FFFFFF#000000##FFFFFF
##8935CF1.006.043.476.04
#FFFFFF6.041.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061D3
Deuteranopia (green-blind)
#0063CC
Tritanopia (blue-blind)
#7B5B80
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #8935cf;
/* rgb */ color: rgb(137, 53, 207);
/* oklch */ color: oklch(52.6% 0.223 304.5);
Tailwind
colors: {
  custom: {
    50: '#b175df',
    500: '#8935cf',
    950: '#000000',
  },
}
SCSS
$custom: #8935cf;
$custom-light: #b175df;
$custom-dark: #000000;
JSON
{
  "hex": "#8935cf",
  "rgb": {
    "r": 137,
    "g": 53,
    "b": 207
  },
  "hsl": {
    "h": 272.727,
    "s": 61.6,
    "l": 50.98
  },
  "oklch": {
    "l": 0.52604,
    "c": 0.22279,
    "h": 304.5
  },
  "luminance": 0.1237
}

Semantic roles & 50–950 ramp

primary
#8935CF
secondary
#ADD28E
accent
#E5438D
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#110915
muted
#807B83

Preview Lab

Preview with #8935CF

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

Preview Lab → · Contrast checker → · Palette generator →

#8935CF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva