#947CE3#947CE3

#947CE3 is a light, vivid violet. Relative luminance 0.263; OKLCH L 65.3% C 0.150 H 292.5°. Best body text is #000000 at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#947CE3
RGBrgb(148, 124, 227)
HSLhsl(254, 65%, 69%)
HSVhsv(254, 45%, 89%)
CMYKcmyk(34.8%, 45.4%, 0%, 11%)
CIE-LABlab(58.28, 32.25, -49.32)
CIE-LCHlch(58.28, 58.93, 303.18°)
OKLaboklab(65.33% 0.0574 -0.1389)
OKLCHoklch(65.33% 0.15 292.5)
XYZxyz(33.2819, 26.2565, 75.9727)
Luminance0.2626 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#947CE3 #CBE37C
analogous
#7C98E3 #947CE3 #C87CE3
triadic
#947CE3 #E3947C #7CE394
tetradic
#947CE3 #E37C98 #CBE37C #7CE3C8
square
#947CE3 #E37C98 #CBE37C #7CE3C8
split-complementary
#947CE3 #E3C87C #98E37C
monochromatic
#4B28BC #6B4AD8 #947CE3 #BDAEEE #E6E1F9

Accessibility & contrast

On white

3.36
#947CE3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.25
#947CE3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #947CE3
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##947CE3#FFFFFF#000000##000000
##947CE31.003.366.256.25
#FFFFFF3.361.0021.0021.00
#0000006.2521.001.001.00
##0000006.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#598EE7
Deuteranopia (green-blind)
#5C8AE1
Tritanopia (blue-blind)
#8190A5
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #947ce3;
/* rgb */ color: rgb(148, 124, 227);
/* oklch */ color: oklch(65.3% 0.150 292.5);
Tailwind
colors: {
  custom: {
    50: '#b6a2ec',
    500: '#947ce3',
    950: '#000000',
  },
}
SCSS
$custom: #947ce3;
$custom-light: #b6a2ec;
$custom-dark: #000000;
JSON
{
  "hex": "#947ce3",
  "rgb": {
    "r": 148,
    "g": 124,
    "b": 227
  },
  "hsl": {
    "h": 253.981,
    "s": 64.78,
    "l": 68.824
  },
  "oklch": {
    "l": 0.65331,
    "c": 0.15034,
    "h": 292.5
  },
  "luminance": 0.26257
}

Semantic roles & 50–950 ramp

primary
#947CE3
secondary
#E6EDCE
accent
#CD19A3
background
#FBFAFE
surface
#F6F3FD
border
#D0CDD5
text
#120F16
muted
#817F84

Preview Lab

Preview with #947CE3

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

Preview Lab → · Contrast checker → · Palette generator →

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