#8A63F2#8A63F2

#8A63F2 is a mid, highly saturated violet. Relative luminance 0.207; OKLCH L 61.2% C 0.205 H 291.8°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#8A63F2
RGBrgb(138, 99, 242)
HSLhsl(256, 85%, 67%)
HSVhsv(256, 59%, 95%)
CMYKcmyk(43%, 59.1%, 0%, 5.1%)
CIE-LABlab(52.66, 48.10, -66.75)
CIE-LCHlch(52.66, 82.27, 305.77°)
OKLaboklab(61.22% 0.076 -0.1904)
OKLCHoklch(61.22% 0.205 291.8)
XYZxyz(30.9657, 20.7368, 86.3583)
Luminance0.2074 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A63F2 #CBF263
analogous
#6384F2 #8A63F2 #D263F2
triadic
#8A63F2 #F28A63 #63F28A
tetradic
#8A63F2 #F26384 #CBF263 #63F2D2
square
#8A63F2 #F26384 #CBF263 #63F2D2
split-complementary
#8A63F2 #F2D263 #84F263
monochromatic
#4311CA #602BED #8A63F2 #B49BF7 #DFD4FB

Accessibility & contrast

On white

4.08
#8A63F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#8A63F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A63F2
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A63F2#FFFFFF#000000##000000
##8A63F21.004.085.155.15
#FFFFFF4.081.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8a63f2;
/* rgb */ color: rgb(138, 99, 242);
/* oklch */ color: oklch(61.2% 0.205 291.8);
Tailwind
colors: {
  custom: {
    50: '#b391f7',
    500: '#8a63f2',
    950: '#000000',
  },
}
SCSS
$custom: #8a63f2;
$custom-light: #b391f7;
$custom-dark: #000000;
JSON
{
  "hex": "#8a63f2",
  "rgb": {
    "r": 138,
    "g": 99,
    "b": 242
  },
  "hsl": {
    "h": 256.364,
    "s": 84.615,
    "l": 66.863
  },
  "oklch": {
    "l": 0.61222,
    "c": 0.20501,
    "h": 291.8
  },
  "luminance": 0.20738
}

Semantic roles & 50–950 ramp

primary
#8A63F2
secondary
#E3EFC2
accent
#E104A5
background
#FBF9FF
surface
#F6F1FF
border
#D0CBD7
text
#120D17
muted
#817E85

Preview Lab

Preview with #8A63F2

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

Preview Lab → · Contrast checker → · Palette generator →

#8A63F2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva