#947CE6#947CE6

#947CE6 is a light, vivid violet. Relative luminance 0.264; OKLCH L 65.5% C 0.154 H 292.0°. Best body text is #000000 at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#947CE6
RGBrgb(148, 124, 230)
HSLhsl(254, 68%, 69%)
HSVhsv(254, 46%, 90%)
CMYKcmyk(35.7%, 46.1%, 0%, 9.8%)
CIE-LABlab(58.44, 33.04, -50.75)
CIE-LCHlch(58.44, 60.55, 303.07°)
OKLaboklab(65.5% 0.0578 -0.1431)
OKLCHoklch(65.5% 0.154 292)
XYZxyz(33.6996, 26.4236, 78.1723)
Luminance0.2642 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#947CE6 #CEE67C
analogous
#7C99E6 #947CE6 #C97CE6
triadic
#947CE6 #E6947C #7CE694
tetradic
#947CE6 #E67C99 #CEE67C #7CE6C9
square
#947CE6 #E67C99 #CEE67C #7CE6C9
split-complementary
#947CE6 #E6C97C #99E67C
monochromatic
#4925C2 #6A49DC #947CE6 #BEAFF0 #E8E3FA

Accessibility & contrast

On white

3.34
#947CE6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.28
#947CE6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #947CE6
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##947CE6#FFFFFF#000000##000000
##947CE61.003.346.286.28
#FFFFFF3.341.0021.0021.00
#0000006.2821.001.001.00
##0000006.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#578EEA
Deuteranopia (green-blind)
#5A8AE3
Tritanopia (blue-blind)
#8091A6
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #947ce6;
/* rgb */ color: rgb(148, 124, 230);
/* oklch */ color: oklch(65.5% 0.154 292.0);
Tailwind
colors: {
  custom: {
    50: '#b7a2ee',
    500: '#947ce6',
    950: '#000000',
  },
}
SCSS
$custom: #947ce6;
$custom-light: #b7a2ee;
$custom-dark: #000000;
JSON
{
  "hex": "#947ce6",
  "rgb": {
    "r": 148,
    "g": 124,
    "b": 230
  },
  "hsl": {
    "h": 253.585,
    "s": 67.949,
    "l": 69.412
  },
  "oklch": {
    "l": 0.655,
    "c": 0.15434,
    "h": 292
  },
  "luminance": 0.26424
}

Semantic roles & 50–950 ramp

primary
#947CE6
secondary
#E7EED0
accent
#D016A6
background
#FBFAFE
surface
#F6F3FD
border
#D0CDD5
text
#120F16
muted
#817F84

Preview Lab

Preview with #947CE6

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

Preview Lab → · Contrast checker → · Palette generator →

#947CE6 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva