#9B68CD#9B68CD

#9B68CD is a mid, vivid violet. Relative luminance 0.213; OKLCH L 61.4% C 0.155 H 305.6°. Best body text is #000000 at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#9B68CD
RGBrgb(155, 104, 205)
HSLhsl(270, 50%, 61%)
HSVhsv(270, 49%, 80%)
CMYKcmyk(24.4%, 49.3%, 0%, 19.6%)
CIE-LABlab(53.25, 39.98, -44.84)
CIE-LCHlch(53.25, 60.07, 311.72°)
OKLaboklab(61.35% 0.0901 -0.1257)
OKLCHoklch(61.35% 0.155 305.6)
XYZxyz(29.4850, 21.2772, 60.2994)
Luminance0.2128 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B68CD #9ACD68
analogous
#6868CD #9B68CD #CD68CC
triadic
#9B68CD #CD9B68 #68CD9B
tetradic
#9B68CD #CD6868 #9ACD68 #68CCCD
square
#9B68CD #CD6868 #9ACD68 #68CCCD
split-complementary
#9B68CD #CCCD68 #68CD68
monochromatic
#5E2E8C #7D3EBA #9B68CD #B996DC #D8C4EB

Accessibility & contrast

On white

4.00
#9B68CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.26
#9B68CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B68CD
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B68CD#FFFFFF#000000##000000
##9B68CD1.004.005.265.26
#FFFFFF4.001.0021.0021.00
#0000005.2621.001.001.00
##0000005.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B7ED1
Deuteranopia (green-blind)
#597FCA
Tritanopia (blue-blind)
#937A91
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #9b68cd;
/* rgb */ color: rgb(155, 104, 205);
/* oklch */ color: oklch(61.4% 0.155 305.6);
Tailwind
colors: {
  custom: {
    50: '#bb94dd',
    500: '#9b68cd',
    950: '#000000',
  },
}
SCSS
$custom: #9b68cd;
$custom-light: #bb94dd;
$custom-dark: #000000;
JSON
{
  "hex": "#9b68cd",
  "rgb": {
    "r": 155,
    "g": 104,
    "b": 205
  },
  "hsl": {
    "h": 270.297,
    "s": 50.249,
    "l": 60.588
  },
  "oklch": {
    "l": 0.61352,
    "c": 0.15464,
    "h": 305.6
  },
  "luminance": 0.21277
}

Semantic roles & 50–950 ramp

primary
#9B68CD
secondary
#C8DCB5
accent
#BE2872
background
#FBF9FD
surface
#F6F1FB
border
#D0CBD4
text
#120D15
muted
#817E83

Preview Lab

Preview with #9B68CD

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

Preview Lab → · Contrast checker → · Palette generator →

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