#945BED#945BED

#945BED is a mid, highly saturated violet. Relative luminance 0.199; OKLCH L 60.7% C 0.210 H 297.8°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#945BED
RGBrgb(148, 91, 237)
HSLhsl(263, 80%, 64%)
HSVhsv(263, 62%, 93%)
CMYKcmyk(37.6%, 61.6%, 0%, 7.1%)
CIE-LABlab(51.71, 53.17, -65.43)
CIE-LCHlch(51.71, 84.31, 309.10°)
OKLaboklab(60.66% 0.098 -0.1862)
OKLCHoklch(60.66% 0.21 297.8)
XYZxyz(31.2360, 19.8920, 82.2982)
Luminance0.1989 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#945BED #B4ED5B
analogous
#5B6BED #945BED #DD5BED
triadic
#945BED #ED945B #5BED94
tetradic
#945BED #ED5B6B #B4ED5B #5BEDDD
square
#945BED #ED5B6B #B4ED5B #5BEDDD
split-complementary
#945BED #EDDD5B #6BED5B
monochromatic
#5514B9 #7024E7 #945BED #B892F3 #DCC9F9

Accessibility & contrast

On white

4.22
#945BED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#945BED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #945BED
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##945BED#FFFFFF#000000##000000
##945BED1.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CF2
Deuteranopia (green-blind)
#117AEA
Tritanopia (blue-blind)
#7F7B9C
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #945bed;
/* rgb */ color: rgb(148, 91, 237);
/* oklch */ color: oklch(60.7% 0.210 297.8);
Tailwind
colors: {
  custom: {
    50: '#b98cf4',
    500: '#945bed',
    950: '#000000',
  },
}
SCSS
$custom: #945bed;
$custom-light: #b98cf4;
$custom-dark: #000000;
JSON
{
  "hex": "#945bed",
  "rgb": {
    "r": 148,
    "g": 91,
    "b": 237
  },
  "hsl": {
    "h": 263.425,
    "s": 80.22,
    "l": 64.314
  },
  "oklch": {
    "l": 0.6066,
    "c": 0.21043,
    "h": 297.8
  },
  "luminance": 0.19892
}

Semantic roles & 50–950 ramp

primary
#945BED
secondary
#D7EBB9
accent
#DD098A
background
#FBF8FF
surface
#F7F0FE
border
#D0CBD6
text
#120C17
muted
#817D85

Preview Lab

Preview with #945BED

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

Preview Lab → · Contrast checker → · Palette generator →

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