#C274EF#C274EF

#C274EF is a light, vivid violet. Relative luminance 0.302; OKLCH L 69.2% C 0.188 H 311.7°. Best body text is #000000 at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#C274EF
RGBrgb(194, 116, 239)
HSLhsl(278, 79%, 70%)
HSVhsv(278, 51%, 94%)
CMYKcmyk(18.8%, 51.5%, 0%, 6.3%)
CIE-LABlab(61.82, 51.56, -50.09)
CIE-LCHlch(61.82, 71.89, 315.83°)
OKLaboklab(69.24% 0.1249 -0.14)
OKLCHoklch(69.24% 0.188 311.7)
XYZxyz(44.0707, 30.1931, 85.1509)
Luminance0.3019 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C274EF #A1EF74
analogous
#8574EF #C274EF #EF74DE
triadic
#C274EF #EFC274 #74EFC2
tetradic
#C274EF #EF8574 #A1EF74 #74DEEF
square
#C274EF #EF8574 #A1EF74 #74DEEF
split-complementary
#C274EF #DEEF74 #74EF85
monochromatic
#8D18D1 #AA3DE9 #C274EF #DAABF5 #F2E2FC

Accessibility & contrast

On white

2.98
#C274EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.04
#C274EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C274EF
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C274EF#FFFFFF#000000##000000
##C274EF1.002.987.047.04
#FFFFFF2.981.0021.0021.00
#0000007.0421.001.001.00
##0000007.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5491F3
Deuteranopia (green-blind)
#6D97EC
Tritanopia (blue-blind)
#BD88A7
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #c274ef;
/* rgb */ color: rgb(194, 116, 239);
/* oklch */ color: oklch(69.2% 0.188 311.7);
Tailwind
colors: {
  custom: {
    50: '#d79ef5',
    500: '#c274ef',
    950: '#000000',
  },
}
SCSS
$custom: #c274ef;
$custom-light: #d79ef5;
$custom-dark: #000000;
JSON
{
  "hex": "#c274ef",
  "rgb": {
    "r": 194,
    "g": 116,
    "b": 239
  },
  "hsl": {
    "h": 278.049,
    "s": 79.355,
    "l": 69.608
  },
  "oklch": {
    "l": 0.69241,
    "c": 0.18759,
    "h": 311.7
  },
  "luminance": 0.30192
}

Semantic roles & 50–950 ramp

primary
#C274EF
secondary
#DBF1CE
accent
#DC0A57
background
#FDF9FF
surface
#FBF2FE
border
#D4CCD6
text
#150F17
muted
#837E85

Preview Lab

Preview with #C274EF

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

Preview Lab → · Contrast checker → · Palette generator →

#C274EF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva