#9768F5#9768F5

#9768F5 is a light, highly saturated violet. Relative luminance 0.231; OKLCH L 63.4% C 0.203 H 295.4°. Best body text is #000000 at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#9768F5
RGBrgb(151, 104, 245)
HSLhsl(260, 88%, 68%)
HSVhsv(260, 58%, 96%)
CMYKcmyk(38.4%, 57.6%, 0%, 3.9%)
CIE-LABlab(55.15, 48.93, -64.35)
CIE-LCHlch(55.15, 80.84, 307.25°)
OKLaboklab(63.4% 0.0869 -0.1829)
OKLCHoklch(63.4% 0.203 295.4)
XYZxyz(34.1900, 23.0718, 89.0205)
Luminance0.2307 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9768F5 #C6F568
analogous
#687FF5 #9768F5 #DD68F5
triadic
#9768F5 #F59768 #68F597
tetradic
#9768F5 #F5687F #C6F568 #68F5DD
square
#9768F5 #F5687F #C6F568 #68F5DD
split-complementary
#9768F5 #F5DD68 #7FF568
monochromatic
#500ED5 #6F2FF1 #9768F5 #BFA1F9 #E6DBFD

Accessibility & contrast

On white

3.74
#9768F5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.61
#9768F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9768F5
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9768F5#FFFFFF#000000##000000
##9768F51.003.745.615.61
#FFFFFF3.741.0021.0021.00
#0000005.6121.001.001.00
##0000005.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#1185FA
Deuteranopia (green-blind)
#2B82F2
Tritanopia (blue-blind)
#8086A5
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #9768f5;
/* rgb */ color: rgb(151, 104, 245);
/* oklch */ color: oklch(63.4% 0.203 295.4);
Tailwind
colors: {
  custom: {
    50: '#bb95f9',
    500: '#9768f5',
    950: '#000000',
  },
}
SCSS
$custom: #9768f5;
$custom-light: #bb95f9;
$custom-dark: #000000;
JSON
{
  "hex": "#9768f5",
  "rgb": {
    "r": 151,
    "g": 104,
    "b": 245
  },
  "hsl": {
    "h": 260,
    "s": 87.578,
    "l": 68.431
  },
  "oklch": {
    "l": 0.63399,
    "c": 0.2025,
    "h": 295.4
  },
  "luminance": 0.23073
}

Semantic roles & 50–950 ramp

primary
#9768F5
secondary
#E3F2C7
accent
#E40199
background
#FBF9FF
surface
#F7F2FF
border
#D0CCD7
text
#120D17
muted
#817E85

Preview Lab

Preview with #9768F5

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

Preview Lab → · Contrast checker → · Palette generator →

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