#9775F5#9775F5

#9775F5 is a light, vivid violet. Relative luminance 0.259; OKLCH L 65.5% C 0.184 H 292.8°. Best body text is #000000 at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#9775F5
RGBrgb(151, 117, 245)
HSLhsl(256, 86%, 71%)
HSVhsv(256, 52%, 96%)
CMYKcmyk(38.4%, 52.2%, 0%, 3.9%)
CIE-LABlab(57.94, 41.73, -59.87)
CIE-LCHlch(57.94, 72.98, 304.88°)
OKLaboklab(65.46% 0.0715 -0.1698)
OKLCHoklch(65.46% 0.184 292.8)
XYZxyz(35.6008, 25.8936, 89.4908)
Luminance0.2589 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9775F5 #D3F575
analogous
#7593F5 #9775F5 #D775F5
triadic
#9775F5 #F59775 #75F597
tetradic
#9775F5 #F57593 #D3F575 #75F5D7
square
#9775F5 #F57593 #D3F575 #75F5D7
split-complementary
#9775F5 #F5D775 #93F575
monochromatic
#4710DF #6C3CF1 #9775F5 #C2AEF9 #E9E2FD

Accessibility & contrast

On white

3.40
#9775F5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.18
#9775F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9775F5
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9775F5#FFFFFF#000000##000000
##9775F51.003.406.186.18
#FFFFFF3.401.0021.0021.00
#0000006.1821.001.001.00
##0000006.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D8DF9
Deuteranopia (green-blind)
#4489F2
Tritanopia (blue-blind)
#7F8FAA
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #9775f5;
/* rgb */ color: rgb(151, 117, 245);
/* oklch */ color: oklch(65.5% 0.184 292.8);
Tailwind
colors: {
  custom: {
    50: '#ba9df9',
    500: '#9775f5',
    950: '#000000',
  },
}
SCSS
$custom: #9775f5;
$custom-light: #ba9df9;
$custom-dark: #000000;
JSON
{
  "hex": "#9775f5",
  "rgb": {
    "r": 151,
    "g": 117,
    "b": 245
  },
  "hsl": {
    "h": 255.938,
    "s": 86.486,
    "l": 70.98
  },
  "oklch": {
    "l": 0.65459,
    "c": 0.18421,
    "h": 292.8
  },
  "luminance": 0.25894
}

Semantic roles & 50–950 ramp

primary
#9775F5
secondary
#EBF4D2
accent
#E302A7
background
#FBF9FF
surface
#F7F2FF
border
#D0CCD7
text
#120E17
muted
#817E85

Preview Lab

Preview with #9775F5

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

Preview Lab → · Contrast checker → · Palette generator →

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