#9775F2#9775F2

#9775F2 is a light, vivid violet. Relative luminance 0.257; OKLCH L 65.3% C 0.180 H 293.3°. Best body text is #000000 at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#9775F2
RGBrgb(151, 117, 242)
HSLhsl(256, 83%, 70%)
HSVhsv(256, 52%, 95%)
CMYKcmyk(37.6%, 51.7%, 0%, 5.1%)
CIE-LABlab(57.76, 40.94, -58.48)
CIE-LCHlch(57.76, 71.39, 304.99°)
OKLaboklab(65.27% 0.0713 -0.1657)
OKLCHoklch(65.27% 0.18 293.3)
XYZxyz(35.1466, 25.7119, 87.0983)
Luminance0.2571 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9775F2 #D0F275
analogous
#7591F2 #9775F2 #D575F2
triadic
#9775F2 #F29775 #75F297
tetradic
#9775F2 #F27591 #D0F275 #75F2D5
square
#9775F2 #F27591 #D0F275 #75F2D5
split-complementary
#9775F2 #F2D575 #91F275
monochromatic
#4A14D8 #6D3DED #9775F2 #C1ADF7 #EAE3FC

Accessibility & contrast

On white

3.42
#9775F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.14
#9775F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9775F2
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9775F2#FFFFFF#000000##000000
##9775F21.003.426.146.14
#FFFFFF3.421.0021.0021.00
#0000006.1421.001.001.00
##0000006.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#418CF6
Deuteranopia (green-blind)
#4889EF
Tritanopia (blue-blind)
#808EA9
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #9775f2;
/* rgb */ color: rgb(151, 117, 242);
/* oklch */ color: oklch(65.3% 0.180 293.3);
Tailwind
colors: {
  custom: {
    50: '#ba9df7',
    500: '#9775f2',
    950: '#000000',
  },
}
SCSS
$custom: #9775f2;
$custom-light: #ba9df7;
$custom-dark: #000000;
JSON
{
  "hex": "#9775f2",
  "rgb": {
    "r": 151,
    "g": 117,
    "b": 242
  },
  "hsl": {
    "h": 256.32,
    "s": 82.781,
    "l": 70.392
  },
  "oklch": {
    "l": 0.65274,
    "c": 0.1804,
    "h": 293.3
  },
  "luminance": 0.25713
}

Semantic roles & 50–950 ramp

primary
#9775F2
secondary
#E9F3D0
accent
#DF06A4
background
#FBF9FF
surface
#F7F2FF
border
#D0CCD7
text
#120E17
muted
#817E85

Preview Lab

Preview with #9775F2

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

Preview Lab → · Contrast checker → · Palette generator →

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