#9242CF#9242CF

#9242CF is a mid, highly saturated violet. Relative luminance 0.145; OKLCH L 55.1% C 0.210 H 306.7°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#9242CF
RGBrgb(146, 66, 207)
HSLhsl(274, 59%, 54%)
HSVhsv(274, 68%, 81%)
CMYKcmyk(29.5%, 68.1%, 0%, 18.8%)
CIE-LABlab(44.96, 57.87, -59.32)
CIE-LCHlch(44.96, 82.87, 314.29°)
OKLaboklab(55.1% 0.1255 -0.1682)
OKLCHoklch(55.1% 0.21 306.7)
XYZxyz(25.0624, 14.5127, 60.5003)
Luminance0.1451 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9242CF #7FCF42
analogous
#4B42CF #9242CF #CF42C5
triadic
#9242CF #CF9242 #42CF92
tetradic
#9242CF #CF4B42 #7FCF42 #42C5CF
square
#9242CF #CF4B42 #7FCF42 #42C5CF
split-complementary
#9242CF #C5CF42 #42CF4B
monochromatic
#511F78 #722BA9 #9242CF #AE73DB #CAA4E8

Accessibility & contrast

On white

5.38
#9242CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#9242CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9242CF
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9242CF#FFFFFF#000000##FFFFFF
##9242CF1.005.383.905.38
#FFFFFF5.381.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D3
Deuteranopia (green-blind)
#1A6BCC
Tritanopia (blue-blind)
#886183
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #9242cf;
/* rgb */ color: rgb(146, 66, 207);
/* oklch */ color: oklch(55.1% 0.210 306.7);
Tailwind
colors: {
  custom: {
    50: '#b77cde',
    500: '#9242cf',
    950: '#000000',
  },
}
SCSS
$custom: #9242cf;
$custom-light: #b77cde;
$custom-dark: #000000;
JSON
{
  "hex": "#9242cf",
  "rgb": {
    "r": 146,
    "g": 66,
    "b": 207
  },
  "hsl": {
    "h": 274.043,
    "s": 59.494,
    "l": 53.529
  },
  "oklch": {
    "l": 0.55099,
    "c": 0.20986,
    "h": 306.7
  },
  "luminance": 0.14512
}

Semantic roles & 50–950 ramp

primary
#9242CF
secondary
#B2D598
accent
#E34589
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#120A15
muted
#817C83

Preview Lab

Preview with #9242CF

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

Preview Lab → · Contrast checker → · Palette generator →

#9242CF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva