#9748FF#9748FF

#9748FF is a mid, highly saturated violet. Relative luminance 0.184; OKLCH L 59.9% C 0.253 H 297.9°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#9748FF
RGBrgb(151, 72, 255)
HSLhsl(266, 100%, 64%)
HSVhsv(266, 72%, 100%)
CMYKcmyk(40.8%, 71.8%, 0%, 0%)
CIE-LABlab(50.02, 67.31, -78.22)
CIE-LCHlch(50.02, 103.19, 310.71°)
OKLaboklab(59.92% 0.1185 -0.2236)
OKLCHoklch(59.92% 0.253 297.9)
XYZxyz(33.1252, 18.4335, 96.4011)
Luminance0.1843 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9748FF #B0FF48
analogous
#4855FF #9748FF #F348FF
triadic
#9748FF #FF9748 #48FF97
tetradic
#9748FF #FF4855 #B0FF48 #48FFF3
square
#9748FF #FF4855 #B0FF48 #48FFF3
split-complementary
#9748FF #FFF348 #55FF48
monochromatic
#5800CD #740BFF #9748FF #BA85FF #DDC2FF

Accessibility & contrast

On white

4.48
#9748FF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#9748FF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9748FF
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9748FF#FFFFFF#000000##000000
##9748FF1.004.484.694.69
#FFFFFF4.481.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0077FF
Deuteranopia (green-blind)
#0075FB
Tritanopia (blue-blind)
#7D77A0
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #9748ff;
/* rgb */ color: rgb(151, 72, 255);
/* oklch */ color: oklch(59.9% 0.253 297.9);
Tailwind
colors: {
  custom: {
    50: '#bd82ff',
    500: '#9748ff',
    950: '#000000',
  },
}
SCSS
$custom: #9748ff;
$custom-light: #bd82ff;
$custom-dark: #000000;
JSON
{
  "hex": "#9748ff",
  "rgb": {
    "r": 151,
    "g": 72,
    "b": 255
  },
  "hsl": {
    "h": 265.902,
    "s": 100,
    "l": 64.118
  },
  "oklch": {
    "l": 0.59923,
    "c": 0.25308,
    "h": 297.9
  },
  "luminance": 0.18434
}

Semantic roles & 50–950 ramp

primary
#9748FF
secondary
#D6F1B1
accent
#E60082
background
#FCF8FF
surface
#F8EFFF
border
#D1CAD7
text
#130B18
muted
#827C86

Preview Lab

Preview with #9748FF

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

Preview Lab → · Contrast checker → · Palette generator →

#9748FF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva