#8662F2#8662F2

#8662F2 is a mid, highly saturated violet. Relative luminance 0.202; OKLCH L 60.7% C 0.206 H 290.4°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#8662F2
RGBrgb(134, 98, 242)
HSLhsl(255, 85%, 67%)
HSVhsv(255, 60%, 95%)
CMYKcmyk(44.6%, 59.5%, 0%, 5.1%)
CIE-LABlab(52.08, 47.83, -67.71)
CIE-LCHlch(52.08, 82.90, 305.24°)
OKLaboklab(60.71% 0.072 -0.1933)
OKLCHoklch(60.71% 0.206 290.4)
XYZxyz(30.2217, 20.2134, 86.2964)
Luminance0.2021 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8662F2 #CEF262
analogous
#6286F2 #8662F2 #CE62F2
triadic
#8662F2 #F28662 #62F286
tetradic
#8662F2 #F26286 #CEF262 #62F2CE
square
#8662F2 #F26286 #CEF262 #62F2CE
split-complementary
#8662F2 #F2CE62 #86F262
monochromatic
#3F11C9 #5A29ED #8662F2 #B29BF7 #DDD3FB

Accessibility & contrast

On white

4.16
#8662F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#8662F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8662F2
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8662F2#FFFFFF#000000##000000
##8662F21.004.165.045.04
#FFFFFF4.161.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#007FF7
Deuteranopia (green-blind)
#0079EF
Tritanopia (blue-blind)
#6583A1
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #8662f2;
/* rgb */ color: rgb(134, 98, 242);
/* oklch */ color: oklch(60.7% 0.206 290.4);
Tailwind
colors: {
  custom: {
    50: '#b090f7',
    500: '#8662f2',
    950: '#000000',
  },
}
SCSS
$custom: #8662f2;
$custom-light: #b090f7;
$custom-dark: #000000;
JSON
{
  "hex": "#8662f2",
  "rgb": {
    "r": 134,
    "g": 98,
    "b": 242
  },
  "hsl": {
    "h": 255,
    "s": 84.706,
    "l": 66.667
  },
  "oklch": {
    "l": 0.60707,
    "c": 0.20631,
    "h": 290.4
  },
  "luminance": 0.20215
}

Semantic roles & 50–950 ramp

primary
#8662F2
secondary
#E3EFC1
accent
#E104AA
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110D17
muted
#807D85

Preview Lab

Preview with #8662F2

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

Preview Lab → · Contrast checker → · Palette generator →

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