#945FED#945FED

#945FED is a mid, highly saturated violet. Relative luminance 0.206; OKLCH L 61.2% C 0.205 H 297.1°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#945FED
RGBrgb(148, 95, 237)
HSLhsl(262, 80%, 65%)
HSVhsv(262, 60%, 93%)
CMYKcmyk(37.6%, 59.9%, 0%, 7.1%)
CIE-LABlab(52.50, 51.06, -64.16)
CIE-LCHlch(52.50, 82.00, 308.52°)
OKLaboklab(61.23% 0.0935 -0.1825)
OKLCHoklch(61.23% 0.205 297.1)
XYZxyz(31.5871, 20.5942, 82.4152)
Luminance0.2059 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#945FED #B8ED5F
analogous
#5F71ED #945FED #DB5FED
triadic
#945FED #ED945F #5FED94
tetradic
#945FED #ED5F71 #B8ED5F #5FEDDB
square
#945FED #ED5F71 #B8ED5F #5FEDDB
split-complementary
#945FED #EDDB5F #71ED5F
monochromatic
#5415BC #6F28E7 #945FED #B996F3 #DECDF9

Accessibility & contrast

On white

4.10
#945FED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#945FED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #945FED
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##945FED#FFFFFF#000000##000000
##945FED1.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#007EF2
Deuteranopia (green-blind)
#207CEA
Tritanopia (blue-blind)
#7F7E9D
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #945fed;
/* rgb */ color: rgb(148, 95, 237);
/* oklch */ color: oklch(61.2% 0.205 297.1);
Tailwind
colors: {
  custom: {
    50: '#b98ff4',
    500: '#945fed',
    950: '#000000',
  },
}
SCSS
$custom: #945fed;
$custom-light: #b98ff4;
$custom-dark: #000000;
JSON
{
  "hex": "#945fed",
  "rgb": {
    "r": 148,
    "g": 95,
    "b": 237
  },
  "hsl": {
    "h": 262.394,
    "s": 79.775,
    "l": 65.098
  },
  "oklch": {
    "l": 0.61233,
    "c": 0.20505,
    "h": 297.1
  },
  "luminance": 0.20595
}

Semantic roles & 50–950 ramp

primary
#945FED
secondary
#DAECBC
accent
#DC098D
background
#FBF8FF
surface
#F7F0FE
border
#D0CBD6
text
#120C17
muted
#817D85

Preview Lab

Preview with #945FED

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

Preview Lab → · Contrast checker → · Palette generator →

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