#954CCF#954CCF

#954CCF is a mid, vivid violet. Relative luminance 0.161; OKLCH L 56.7% C 0.198 H 306.8°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#954CCF
RGBrgb(149, 76, 207)
HSLhsl(273, 58%, 55%)
HSVhsv(273, 63%, 81%)
CMYKcmyk(28%, 63.3%, 0%, 18.8%)
CIE-LABlab(47.06, 53.76, -55.92)
CIE-LCHlch(47.06, 77.57, 313.88°)
OKLaboklab(56.69% 0.1183 -0.1582)
OKLCHoklch(56.69% 0.198 306.8)
XYZxyz(26.2390, 16.0637, 60.7377)
Luminance0.1606 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#954CCF #86CF4C
analogous
#534CCF #954CCF #CF4CC7
triadic
#954CCF #CF954C #4CCF95
tetradic
#954CCF #CF534C #86CF4C #4CC7CF
square
#954CCF #CF534C #86CF4C #4CC7CF
split-complementary
#954CCF #C7CF4C #4CCF53
monochromatic
#56227F #762FAF #954CCF #B27CDC #CEADE9

Accessibility & contrast

On white

4.99
#954CCF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#954CCF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #954CCF
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##954CCF#FFFFFF#000000##FFFFFF
##954CCF1.004.994.214.99
#FFFFFF4.991.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DD3
Deuteranopia (green-blind)
#3170CC
Tritanopia (blue-blind)
#8C6787
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #954ccf;
/* rgb */ color: rgb(149, 76, 207);
/* oklch */ color: oklch(56.7% 0.198 306.8);
Tailwind
colors: {
  custom: {
    50: '#b882de',
    500: '#954ccf',
    950: '#000000',
  },
}
SCSS
$custom: #954ccf;
$custom-light: #b882de;
$custom-dark: #000000;
JSON
{
  "hex": "#954ccf",
  "rgb": {
    "r": 149,
    "g": 76,
    "b": 207
  },
  "hsl": {
    "h": 273.435,
    "s": 57.709,
    "l": 55.49
  },
  "oklch": {
    "l": 0.5669,
    "c": 0.1975,
    "h": 306.8
  },
  "luminance": 0.16063
}

Semantic roles & 50–950 ramp

primary
#954CCF
secondary
#B8D7A0
accent
#E1478B
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #954CCF

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

Preview Lab → · Contrast checker → · Palette generator →

#954CCF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva