#945BCF#945BCF

#945BCF is a mid, vivid violet. Relative luminance 0.183; OKLCH L 58.7% C 0.176 H 304.2°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#945BCF
RGBrgb(148, 91, 207)
HSLhsl(269, 55%, 58%)
HSVhsv(269, 56%, 81%)
CMYKcmyk(28.5%, 56%, 0%, 18.8%)
CIE-LABlab(49.84, 45.77, -51.46)
CIE-LCHlch(49.84, 68.87, 311.65°)
OKLaboklab(58.69% 0.0986 -0.1452)
OKLCHoklch(58.69% 0.176 304.2)
XYZxyz(27.2138, 18.2832, 61.1147)
Luminance0.1828 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#945BCF #96CF5B
analogous
#5B5CCF #945BCF #CE5BCF
triadic
#945BCF #CF945B #5BCF94
tetradic
#945BCF #CF5B5C #96CF5B #5BCFCE
square
#945BCF #CF5B5C #96CF5B #5BCFCE
split-complementary
#945BCF #CFCE5B #5CCF5B
monochromatic
#572888 #7536B7 #945BCF #B38ADD #D2BAEB

Accessibility & contrast

On white

4.51
#945BCF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#945BCF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #945BCF
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##945BCF#FFFFFF#000000##000000
##945BCF1.004.514.664.66
#FFFFFF4.511.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#2E75D3
Deuteranopia (green-blind)
#4377CC
Tritanopia (blue-blind)
#8A718C
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #945bcf;
/* rgb */ color: rgb(148, 91, 207);
/* oklch */ color: oklch(58.7% 0.176 304.2);
Tailwind
colors: {
  custom: {
    50: '#b78bde',
    500: '#945bcf',
    950: '#000000',
  },
}
SCSS
$custom: #945bcf;
$custom-light: #b78bde;
$custom-dark: #000000;
JSON
{
  "hex": "#945bcf",
  "rgb": {
    "r": 148,
    "g": 91,
    "b": 207
  },
  "hsl": {
    "h": 269.483,
    "s": 54.717,
    "l": 58.431
  },
  "oklch": {
    "l": 0.5869,
    "c": 0.17552,
    "h": 304.2
  },
  "luminance": 0.18283
}

Semantic roles & 50–950 ramp

primary
#945BCF
secondary
#C3DAAC
accent
#DE4A95
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#120C15
muted
#817D83

Preview Lab

Preview with #945BCF

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

Preview Lab → · Contrast checker → · Palette generator →

#945BCF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva