#912FD1#912FD1

#912FD1 is a mid, highly saturated violet. Relative luminance 0.127; OKLCH L 53.2% C 0.233 H 307.5°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#912FD1
RGBrgb(145, 47, 209)
HSLhsl(276, 64%, 50%)
HSVhsv(276, 78%, 82%)
CMYKcmyk(30.6%, 77.5%, 0%, 18%)
CIE-LABlab(42.24, 65.86, -64.89)
CIE-LCHlch(42.24, 92.46, 315.43°)
OKLaboklab(53.19% 0.1416 -0.1845)
OKLCHoklch(53.19% 0.233 307.5)
XYZxyz(24.1997, 12.6566, 61.4773)
Luminance0.1266 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#912FD1 #6FD12F
analogous
#402FD1 #912FD1 #D12FC0
triadic
#912FD1 #D1912F #2FD191
tetradic
#912FD1 #D1402F #6FD12F #2FC0D1
square
#912FD1 #D1402F #6FD12F #2FC0D1
split-complementary
#912FD1 #C0D12F #2FD140
monochromatic
#4C186D #6E23A0 #912FD1 #AC61DC #C693E7

Accessibility & contrast

On white

5.95
#912FD1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#912FD1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #912FD1
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##912FD1#FFFFFF#000000##FFFFFF
##912FD11.005.953.535.95
#FFFFFF5.951.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060D5
Deuteranopia (green-blind)
#0064CE
Tritanopia (blue-blind)
#865880
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #912fd1;
/* rgb */ color: rgb(145, 47, 209);
/* oklch */ color: oklch(53.2% 0.233 307.5);
Tailwind
colors: {
  custom: {
    50: '#b773e0',
    500: '#912fd1',
    950: '#000000',
  },
}
SCSS
$custom: #912fd1;
$custom-light: #b773e0;
$custom-dark: #000000;
JSON
{
  "hex": "#912fd1",
  "rgb": {
    "r": 145,
    "g": 47,
    "b": 209
  },
  "hsl": {
    "h": 276.296,
    "s": 63.78,
    "l": 50.196
  },
  "oklch": {
    "l": 0.53192,
    "c": 0.23257,
    "h": 307.5
  },
  "luminance": 0.12656
}

Semantic roles & 50–950 ramp

primary
#912FD1
secondary
#A6D28A
accent
#E74183
background
#FBF7FD
surface
#F7EDFB
border
#D0C8D4
text
#120915
muted
#817B83

Preview Lab

Preview with #912FD1

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

Preview Lab → · Contrast checker → · Palette generator →

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