#9750DB#9750DB

#9750DB is a mid, highly saturated violet. Relative luminance 0.174; OKLCH L 58.2% C 0.206 H 304.2°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#9750DB
RGBrgb(151, 80, 219)
HSLhsl(271, 66%, 59%)
HSVhsv(271, 63%, 86%)
CMYKcmyk(31.1%, 63.5%, 0%, 14.1%)
CIE-LABlab(48.80, 55.02, -59.96)
CIE-LCHlch(48.80, 81.38, 312.54°)
OKLaboklab(58.25% 0.1155 -0.17)
OKLCHoklch(58.25% 0.206 304.2)
XYZxyz(28.4145, 17.4312, 68.8717)
Luminance0.1743 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9750DB #94DB50
analogous
#5150DB #9750DB #DB50DA
triadic
#9750DB #DB9750 #50DB97
tetradic
#9750DB #DB5150 #94DB50 #50DADB
square
#9750DB #DB5150 #94DB50 #50DADB
split-complementary
#9750DB #DADB50 #50DB51
monochromatic
#5A1E92 #7929C5 #9750DB #B583E5 #D3B6F0

Accessibility & contrast

On white

4.68
#9750DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#9750DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9750DB
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9750DB#FFFFFF#000000##FFFFFF
##9750DB1.004.684.494.68
#FFFFFF4.681.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072DF
Deuteranopia (green-blind)
#2874D8
Tritanopia (blue-blind)
#8A6E8E
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #9750db;
/* rgb */ color: rgb(151, 80, 219);
/* oklch */ color: oklch(58.2% 0.206 304.2);
Tailwind
colors: {
  custom: {
    50: '#ba85e7',
    500: '#9750db',
    950: '#000000',
  },
}
SCSS
$custom: #9750db;
$custom-light: #ba85e7;
$custom-dark: #000000;
JSON
{
  "hex": "#9750db",
  "rgb": {
    "r": 151,
    "g": 80,
    "b": 219
  },
  "hsl": {
    "h": 270.647,
    "s": 65.877,
    "l": 58.627
  },
  "oklch": {
    "l": 0.58248,
    "c": 0.20553,
    "h": 304.2
  },
  "luminance": 0.17431
}

Semantic roles & 50–950 ramp

primary
#9750DB
secondary
#C3DFA8
accent
#E93F92
background
#FBF8FE
surface
#F7EFFC
border
#D0CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #9750DB

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

Preview Lab → · Contrast checker → · Palette generator →

#9750DB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva