#9738CF#9738CF

#9738CF is a mid, highly saturated violet. Relative luminance 0.139; OKLCH L 54.6% C 0.223 H 309.6°. Best body text is #FFFFFF at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#9738CF
RGBrgb(151, 56, 207)
HSLhsl(278, 61%, 52%)
HSVhsv(278, 73%, 81%)
CMYKcmyk(27.1%, 72.9%, 0%, 18.8%)
CIE-LABlab(44.11, 63.13, -60.67)
CIE-LCHlch(44.11, 87.55, 316.14°)
OKLaboklab(54.63% 0.1421 -0.1719)
OKLCHoklch(54.63% 0.223 309.6)
XYZxyz(25.4369, 13.9132, 60.3649)
Luminance0.1391 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9738CF #70CF38
analogous
#4C38CF #9738CF #CF38BC
triadic
#9738CF #CF9738 #38CF97
tetradic
#9738CF #CF4C38 #70CF38 #38BCCF
square
#9738CF #CF4C38 #70CF38 #38BCCF
split-complementary
#9738CF #BCCF38 #38CF4C
monochromatic
#511B71 #7527A3 #9738CF #B169DB #CB9BE7

Accessibility & contrast

On white

5.55
#9738CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#9738CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9738CF
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9738CF#FFFFFF#000000##FFFFFF
##9738CF1.005.553.785.55
#FFFFFF5.551.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064D3
Deuteranopia (green-blind)
#116ACC
Tritanopia (blue-blind)
#8F5B81
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #9738cf;
/* rgb */ color: rgb(151, 56, 207);
/* oklch */ color: oklch(54.6% 0.223 309.6);
Tailwind
colors: {
  custom: {
    50: '#ba77df',
    500: '#9738cf',
    950: '#000000',
  },
}
SCSS
$custom: #9738cf;
$custom-light: #ba77df;
$custom-dark: #000000;
JSON
{
  "hex": "#9738cf",
  "rgb": {
    "r": 151,
    "g": 56,
    "b": 207
  },
  "hsl": {
    "h": 277.748,
    "s": 61.134,
    "l": 51.569
  },
  "oklch": {
    "l": 0.54634,
    "c": 0.22303,
    "h": 309.6
  },
  "luminance": 0.13913
}

Semantic roles & 50–950 ramp

primary
#9738CF
secondary
#A9D390
accent
#E4447F
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#120915
muted
#817B83

Preview Lab

Preview with #9738CF

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

Preview Lab → · Contrast checker → · Palette generator →

#9738CF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva