#9A68C8#9A68C8

#9A68C8 is a mid, vivid violet. Relative luminance 0.209; OKLCH L 61.0% C 0.148 H 306.6°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#9A68C8
RGBrgb(154, 104, 200)
HSLhsl(271, 47%, 60%)
HSVhsv(271, 48%, 78%)
CMYKcmyk(23%, 48%, 0%, 21.6%)
CIE-LABlab(52.88, 38.52, -42.57)
CIE-LCHlch(52.88, 57.42, 312.14°)
OKLaboklab(60.97% 0.0883 -0.1191)
OKLCHoklch(60.97% 0.148 306.6)
XYZxyz(28.6999, 20.9410, 57.1625)
Luminance0.2094 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A68C8 #96C868
analogous
#6A68C8 #9A68C8 #C868C6
triadic
#9A68C8 #C89A68 #68C89A
tetradic
#9A68C8 #C86A68 #96C868 #68C6C8
square
#9A68C8 #C86A68 #96C868 #68C6C8
split-complementary
#9A68C8 #C6C868 #68C86A
monochromatic
#5D3085 #7C41B2 #9A68C8 #B895D8 #D6C2E9

Accessibility & contrast

On white

4.05
#9A68C8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.19
#9A68C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9A68C8
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A68C8#FFFFFF#000000##000000
##9A68C81.004.055.195.19
#FFFFFF4.051.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E7CCB
Deuteranopia (green-blind)
#5C7FC6
Tritanopia (blue-blind)
#93788F
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #9a68c8;
/* rgb */ color: rgb(154, 104, 200);
/* oklch */ color: oklch(61.0% 0.148 306.6);
Tailwind
colors: {
  custom: {
    50: '#ba94d9',
    500: '#9a68c8',
    950: '#000000',
  },
}
SCSS
$custom: #9a68c8;
$custom-light: #ba94d9;
$custom-dark: #000000;
JSON
{
  "hex": "#9a68c8",
  "rgb": {
    "r": 154,
    "g": 104,
    "b": 200
  },
  "hsl": {
    "h": 271.25,
    "s": 46.602,
    "l": 59.608
  },
  "oklch": {
    "l": 0.6097,
    "c": 0.14825,
    "h": 306.6
  },
  "luminance": 0.20941
}

Semantic roles & 50–950 ramp

primary
#9A68C8
secondary
#C5D9B3
accent
#D65291
background
#FBF9FD
surface
#F6F1FA
border
#D0CBD3
text
#120D14
muted
#817E83

Preview Lab

Preview with #9A68C8

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

Preview Lab → · Contrast checker → · Palette generator →

#9A68C8 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva