#9168CD#9168CD

#9168CD is a mid, vivid violet. Relative luminance 0.203; OKLCH L 60.3% C 0.152 H 300.7°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#9168CD
RGBrgb(145, 104, 205)
HSLhsl(264, 50%, 61%)
HSVhsv(264, 49%, 80%)
CMYKcmyk(29.3%, 49.3%, 0%, 19.6%)
CIE-LABlab(52.21, 37.29, -46.57)
CIE-LCHlch(52.21, 59.65, 308.69°)
OKLaboklab(60.33% 0.0777 -0.131)
OKLCHoklch(60.33% 0.152 300.7)
XYZxyz(27.6443, 20.3280, 60.2131)
Luminance0.2033 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9168CD #A4CD68
analogous
#6871CD #9168CD #C368CD
triadic
#9168CD #CD9168 #68CD91
tetradic
#9168CD #CD6871 #A4CD68 #68CDC3
square
#9168CD #CD6871 #A4CD68 #68CDC3
split-complementary
#9168CD #CDC368 #71CD68
monochromatic
#542E8C #703EBA #9168CD #B296DC #D4C4EB

Accessibility & contrast

On white

4.15
#9168CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#9168CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9168CD
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9168CD#FFFFFF#000000##000000
##9168CD1.004.155.075.07
#FFFFFF4.151.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#477CD1
Deuteranopia (green-blind)
#527CCB
Tritanopia (blue-blind)
#857B91
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #9168cd;
/* rgb */ color: rgb(145, 104, 205);
/* oklch */ color: oklch(60.3% 0.152 300.7);
Tailwind
colors: {
  custom: {
    50: '#b494dd',
    500: '#9168cd',
    950: '#000000',
  },
}
SCSS
$custom: #9168cd;
$custom-light: #b494dd;
$custom-dark: #000000;
JSON
{
  "hex": "#9168cd",
  "rgb": {
    "r": 145,
    "g": 104,
    "b": 205
  },
  "hsl": {
    "h": 264.356,
    "s": 50.249,
    "l": 60.588
  },
  "oklch": {
    "l": 0.60333,
    "c": 0.15225,
    "h": 300.7
  },
  "luminance": 0.20328
}

Semantic roles & 50–950 ramp

primary
#9168CD
secondary
#CCDCB5
accent
#BE2881
background
#FBF9FD
surface
#F6F1FB
border
#D0CBD4
text
#110D15
muted
#807E83

Preview Lab

Preview with #9168CD

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

Preview Lab → · Contrast checker → · Palette generator →

#9168CD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva