#9768ED#9768ED

#9768ED is a light, vivid violet. Relative luminance 0.226; OKLCH L 62.9% C 0.193 H 296.8°. Best body text is #000000 at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#9768ED
RGBrgb(151, 104, 237)
HSLhsl(261, 79%, 67%)
HSVhsv(261, 56%, 93%)
CMYKcmyk(36.3%, 56.1%, 0%, 7.1%)
CIE-LABlab(54.65, 46.87, -60.69)
CIE-LCHlch(54.65, 76.68, 307.68°)
OKLaboklab(62.88% 0.0869 -0.1722)
OKLCHoklch(62.88% 0.193 296.8)
XYZxyz(32.9950, 22.5938, 82.7270)
Luminance0.2259 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9768ED #BEED68
analogous
#687CED #9768ED #DA68ED
triadic
#9768ED #ED9768 #68ED97
tetradic
#9768ED #ED687C #BEED68 #68EDDA
square
#9768ED #ED687C #BEED68 #68EDDA
split-complementary
#9768ED #EDDA68 #7CED68
monochromatic
#5417C3 #7131E6 #9768ED #BD9FF4 #E2D5FA

Accessibility & contrast

On white

3.81
#9768ED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.52
#9768ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9768ED
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9768ED#FFFFFF#000000##000000
##9768ED1.003.815.525.52
#FFFFFF3.811.0021.0021.00
#0000005.5221.001.001.00
##0000005.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#2683F1
Deuteranopia (green-blind)
#3881EA
Tritanopia (blue-blind)
#8384A1
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #9768ed;
/* rgb */ color: rgb(151, 104, 237);
/* oklch */ color: oklch(62.9% 0.193 296.8);
Tailwind
colors: {
  custom: {
    50: '#ba95f3',
    500: '#9768ed',
    950: '#000000',
  },
}
SCSS
$custom: #9768ed;
$custom-light: #ba95f3;
$custom-dark: #000000;
JSON
{
  "hex": "#9768ed",
  "rgb": {
    "r": 151,
    "g": 104,
    "b": 237
  },
  "hsl": {
    "h": 261.203,
    "s": 78.698,
    "l": 66.863
  },
  "oklch": {
    "l": 0.62878,
    "c": 0.19285,
    "h": 296.8
  },
  "luminance": 0.22594
}

Semantic roles & 50–950 ramp

primary
#9768ED
secondary
#DFEEC3
accent
#DB0B91
background
#FBF9FE
surface
#F7F2FD
border
#D0CCD5
text
#120D17
muted
#817E85

Preview Lab

Preview with #9768ED

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

Preview Lab → · Contrast checker → · Palette generator →

#9768ED Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva