#9738CD#9738CD

#9738CD is a mid, highly saturated violet. Relative luminance 0.138; OKLCH L 54.5% C 0.221 H 310.1°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#9738CD
RGBrgb(151, 56, 205)
HSLhsl(278, 60%, 51%)
HSVhsv(278, 73%, 80%)
CMYKcmyk(26.3%, 72.7%, 0%, 19.6%)
CIE-LABlab(43.97, 62.70, -59.74)
CIE-LCHlch(43.97, 86.60, 316.39°)
OKLaboklab(54.49% 0.1424 -0.1692)
OKLCHoklch(54.49% 0.221 310.1)
XYZxyz(25.1940, 13.8160, 59.0853)
Luminance0.1381 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9738CD #6ECD38
analogous
#4C38CD #9738CD #CD38B8
triadic
#9738CD #CD9738 #38CD97
tetradic
#9738CD #CD4C38 #6ECD38 #38B8CD
square
#9738CD #CD4C38 #6ECD38 #38B8CD
split-complementary
#9738CD #B8CD38 #38CD4C
monochromatic
#511C6F #7428A0 #9738CD #B169D9 #CA9AE6

Accessibility & contrast

On white

5.58
#9738CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#9738CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9738CD
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9738CD#FFFFFF#000000##FFFFFF
##9738CD1.005.583.765.58
#FFFFFF5.581.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064D1
Deuteranopia (green-blind)
#1769CA
Tritanopia (blue-blind)
#8F5A80
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #9738cd;
/* rgb */ color: rgb(151, 56, 205);
/* oklch */ color: oklch(54.5% 0.221 310.1);
Tailwind
colors: {
  custom: {
    50: '#ba77dd',
    500: '#9738cd',
    950: '#000000',
  },
}
SCSS
$custom: #9738cd;
$custom-light: #ba77dd;
$custom-dark: #000000;
JSON
{
  "hex": "#9738cd",
  "rgb": {
    "r": 151,
    "g": 56,
    "b": 205
  },
  "hsl": {
    "h": 278.255,
    "s": 59.839,
    "l": 51.176
  },
  "oklch": {
    "l": 0.54491,
    "c": 0.22114,
    "h": 310.1
  },
  "luminance": 0.13815
}

Semantic roles & 50–950 ramp

primary
#9738CD
secondary
#A7D18F
accent
#E3457E
background
#FBF7FD
surface
#F7EEFB
border
#D0C9D4
text
#120915
muted
#817B83

Preview Lab

Preview with #9738CD

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

Preview Lab → · Contrast checker → · Palette generator →

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