#9738C8#9738C8

#9738C8 is a mid, highly saturated violet. Relative luminance 0.136; OKLCH L 54.1% C 0.216 H 311.4°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#9738C8
RGBrgb(151, 56, 200)
HSLhsl(280, 57%, 50%)
HSVhsv(280, 72%, 78%)
CMYKcmyk(24.5%, 72%, 0%, 21.6%)
CIE-LABlab(43.62, 61.65, -57.40)
CIE-LCHlch(43.62, 84.24, 317.04°)
OKLaboklab(54.14% 0.1431 -0.1624)
OKLCHoklch(54.14% 0.216 311.4)
XYZxyz(24.6000, 13.5784, 55.9574)
Luminance0.1358 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9738C8 #69C838
analogous
#4F38C8 #9738C8 #C838B1
triadic
#9738C8 #C89738 #38C897
tetradic
#9738C8 #C84F38 #69C838 #38B1C8
square
#9738C8 #C84F38 #69C838 #38B1C8
split-complementary
#9738C8 #B1C838 #38C84F
monochromatic
#4F1D69 #732A99 #9738C8 #B068D5 #C998E3

Accessibility & contrast

On white

5.65
#9738C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#9738C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9738C8
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9738C8#FFFFFF#000000##FFFFFF
##9738C81.005.653.725.65
#FFFFFF5.651.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063CC
Deuteranopia (green-blind)
#2269C5
Tritanopia (blue-blind)
#91587D
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #9738c8;
/* rgb */ color: rgb(151, 56, 200);
/* oklch */ color: oklch(54.1% 0.216 311.4);
Tailwind
colors: {
  custom: {
    50: '#ba77d9',
    500: '#9738c8',
    950: '#000000',
  },
}
SCSS
$custom: #9738c8;
$custom-light: #ba77d9;
$custom-dark: #000000;
JSON
{
  "hex": "#9738c8",
  "rgb": {
    "r": 151,
    "g": 56,
    "b": 200
  },
  "hsl": {
    "h": 279.583,
    "s": 56.693,
    "l": 50.196
  },
  "oklch": {
    "l": 0.54136,
    "c": 0.21643,
    "h": 311.4
  },
  "luminance": 0.13578
}

Semantic roles & 50–950 ramp

primary
#9738C8
secondary
#A4CE8E
accent
#E0487C
background
#FBF7FD
surface
#F7EEFB
border
#D0C9D4
text
#120915
muted
#817B83

Preview Lab

Preview with #9738C8

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

Preview Lab → · Contrast checker → · Palette generator →

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