#8964F2#8964F2

#8964F2 is a mid, highly saturated violet. Relative luminance 0.208; OKLCH L 61.3% C 0.204 H 291.2°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#8964F2
RGBrgb(137, 100, 242)
HSLhsl(256, 85%, 67%)
HSVhsv(256, 59%, 95%)
CMYKcmyk(43.4%, 58.7%, 0%, 5.1%)
CIE-LABlab(52.78, 47.34, -66.57)
CIE-LCHlch(52.78, 81.68, 305.42°)
OKLaboklab(61.29% 0.0736 -0.1899)
OKLCHoklch(61.29% 0.204 291.2)
XYZxyz(30.8963, 20.8425, 86.3823)
Luminance0.2084 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8964F2 #CDF264
analogous
#6486F2 #8964F2 #D064F2
triadic
#8964F2 #F28964 #64F289
tetradic
#8964F2 #F26486 #CDF264 #64F2D0
square
#8964F2 #F26486 #CDF264 #64F2D0
split-complementary
#8964F2 #F2D064 #86F264
monochromatic
#4111CB #5E2CED #8964F2 #B49CF7 #DFD5FB

Accessibility & contrast

On white

4.06
#8964F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#8964F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8964F2
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8964F2#FFFFFF#000000##000000
##8964F21.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0080F7
Deuteranopia (green-blind)
#007BEF
Tritanopia (blue-blind)
#6A84A2
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #8964f2;
/* rgb */ color: rgb(137, 100, 242);
/* oklch */ color: oklch(61.3% 0.204 291.2);
Tailwind
colors: {
  custom: {
    50: '#b291f7',
    500: '#8964f2',
    950: '#000000',
  },
}
SCSS
$custom: #8964f2;
$custom-light: #b291f7;
$custom-dark: #000000;
JSON
{
  "hex": "#8964f2",
  "rgb": {
    "r": 137,
    "g": 100,
    "b": 242
  },
  "hsl": {
    "h": 255.634,
    "s": 84.524,
    "l": 67.059
  },
  "oklch": {
    "l": 0.61285,
    "c": 0.20366,
    "h": 291.2
  },
  "luminance": 0.20844
}

Semantic roles & 50–950 ramp

primary
#8964F2
secondary
#E4EFC2
accent
#E105A8
background
#FBF9FF
surface
#F6F1FF
border
#D0CBD7
text
#110D17
muted
#807E85

Preview Lab

Preview with #8964F2

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

Preview Lab → · Contrast checker → · Palette generator →

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