#912CCD#912CCD

#912CCD is a mid, highly saturated violet. Relative luminance 0.122; OKLCH L 52.6% C 0.232 H 308.7°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#912CCD
RGBrgb(145, 44, 205)
HSLhsl(278, 65%, 49%)
HSVhsv(278, 79%, 80%)
CMYKcmyk(29.3%, 78.5%, 0%, 19.6%)
CIE-LABlab(41.58, 66.06, -63.65)
CIE-LCHlch(41.58, 91.74, 316.06°)
OKLaboklab(52.63% 0.1449 -0.1808)
OKLCHoklch(52.63% 0.232 308.7)
XYZxyz(23.5949, 12.2293, 58.8633)
Luminance0.1223 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#912CCD #68CD2C
analogous
#412CCD #912CCD #CD2CB9
triadic
#912CCD #CD912C #2CCD91
tetradic
#912CCD #CD412C #68CD2C #2CB9CD
square
#912CCD #CD412C #68CD2C #2CB9CD
split-complementary
#912CCD #B9CD2C #2CCD41
monochromatic
#4A1668 #6D219B #912CCD #AC5BDC #C58DE7

Accessibility & contrast

On white

6.09
#912CCD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#912CCD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #912CCD
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##912CCD#FFFFFF#000000##FFFFFF
##912CCD1.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ED1
Deuteranopia (green-blind)
#0063CA
Tritanopia (blue-blind)
#88557D
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #912ccd;
/* rgb */ color: rgb(145, 44, 205);
/* oklch */ color: oklch(52.6% 0.232 308.7);
Tailwind
colors: {
  custom: {
    50: '#b771dd',
    500: '#912ccd',
    950: '#000000',
  },
}
SCSS
$custom: #912ccd;
$custom-light: #b771dd;
$custom-dark: #000000;
JSON
{
  "hex": "#912ccd",
  "rgb": {
    "r": 145,
    "g": 44,
    "b": 205
  },
  "hsl": {
    "h": 277.64,
    "s": 64.659,
    "l": 48.824
  },
  "oklch": {
    "l": 0.52633,
    "c": 0.23173,
    "h": 308.7
  },
  "luminance": 0.12229
}

Semantic roles & 50–950 ramp

primary
#912CCD
secondary
#A1D184
accent
#E8407F
background
#FBF7FD
surface
#F7EDFB
border
#D0C8D4
text
#120815
muted
#817B83

Preview Lab

Preview with #912CCD

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

Preview Lab → · Contrast checker → · Palette generator →

#912CCD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva